From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8A91158041 for ; Fri, 29 Mar 2024 02:26:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53B87E29CF; Fri, 29 Mar 2024 02:26:35 +0000 (UTC) Received: from tncsrv06.tnetconsulting.net (tncsrv06.tnetconsulting.net [IPv6:2600:3c00:e000:1e9::8849]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D53A4E29C2 for ; Fri, 29 Mar 2024 02:26:34 +0000 (UTC) Received: from Contact-TNet-Consulting-Abuse-for-assistance by tncsrv06.tnetconsulting.net (8.15.2/8.15.2/Debian-3) with ESMTPSA id 42T2QX3N014083 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 28 Mar 2024 21:26:33 -0500 Message-ID: Date: Thu, 28 Mar 2024 21:26:33 -0500 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Grant Taylor Subject: Re: [gentoo-user] How to synchronise between 2 locations To: gentoo-user@lists.gentoo.org References: <12420309.O9o76ZdvQC@persephone> Content-Language: en-US In-Reply-To: <12420309.O9o76ZdvQC@persephone> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 5dc937f8-6042-4a64-b14d-640a4334ad67 X-Archives-Hash: aa990de2d8b30b571b7319d1612eb7d2 On 3/27/24 13:58, J. Roeleveld wrote: > Hi all, Hi, > I am looking for a way to synchronise a filesystem between 2 servers. Changes > can occur on both sides which means I need to have it synchronise in both > directions. What sort of turn around time are you looking for? seconds, minus, hours, longer? > Does anyone have any thoughts on this? I would wonder about using rsync. host1 -> host2 at the top of the hour host2 -> host1 at the bottom of the hour Or if you wanted to get fancy host1 pushes to host2 at the top of the hour host2 pushes to host1 at a quarter past host2 pulls from host1 at the bottom of the hour host1 pulls from host2 at a quarter till I'm thinking like if one of them was a road warrior and only one side could initiate because of a stateful firewall. > Also, both servers are connected using a slow VPN link, which is why I can't > simply access files on the remote server. ACK -- Grant. . . .