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 82737158041 for ; Thu, 28 Mar 2024 10:00:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C13FE2A73; Thu, 28 Mar 2024 10:00:52 +0000 (UTC) Received: from mail.tzend.de (mail.tzend.de [IPv6:2a03:4000:27:4d1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D787BE2A5F for ; Thu, 28 Mar 2024 10:00:51 +0000 (UTC) Received: from ventiloplattform.tastytea.de (p200300c08738580019616eaa9bdf4996.dip0.t-ipconnect.de [IPv6:2003:c0:8738:5800:1961:6eaa:9bdf:4996]) by mail.tzend.de (Postfix) with ESMTPSA id C05C39A104C for ; Thu, 28 Mar 2024 11:00:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tastytea.de; s=mail; t=1711620050; bh=0JQclD1WGFAMZvNY7AfdHan4Zl8HpUHPBEc+GiuAGr8=; h=Date:From:To:Subject:In-Reply-To:References; b=ogX9uAWkmlaWxKRQS5+oe1xTZy+KYWp6U6suX73PhAzpCElgY73K/qMcQ/wS80BhZ 8gW4oVrUSBAhNdPCR+fZdt2rwZiwHYa1E49ukU1SUIx2ejxynb/uPeM/bwUgUvLb0u ErLObATv1H8tNtBpI5MkeSurR5LV2h50YB1GJk7c= Date: Thu, 28 Mar 2024 11:00:49 +0100 From: tastytea To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to synchronise between 2 locations Message-ID: <20240328110049.2aa7eb41@ventiloplattform.tastytea.de> In-Reply-To: <2192508.irdbgypaU6@persephone> References: <12420309.O9o76ZdvQC@persephone> <40c2f911b307734818f604b5f920abdf9510bc7f.camel@connell.tech> <2192508.irdbgypaU6@persephone> Clacks-Overhead: GNU Terry Pratchett 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9af49d42-6726-42ec-9b8a-07be2353594a X-Archives-Hash: 4d159e1237d09ea26b8bb0dc44f5b804 On 2024-03-28 07:32+0100 "J. Roeleveld" wrote: > On Wednesday, 27 March 2024 20:54:14 CET Frank Steinmetzger wrote: > > Am Wed, Mar 27, 2024 at 03:42:07PM -0400 schrieb Matt Connell: =20 > > > On Wed, 2024-03-27 at 19:58 +0100, J. Roeleveld wrote: =20 > > > > Hi all, > > > >=20 > > > > 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. > > > >=20 > > > > Does anyone have any thoughts on this? > > > >=20 > > > > Also, both servers are connected using a slow VPN link, which > > > > is why I can't simply access files on the remote server. =20 > > >=20 > > > I've been using syncthing for years and am extremely pleased with > > > it. It works so well that I sometimes forget that its there, > > > truly in the It Just Works category of software. =20 > >=20 > > Syncthing is also a good idea. The major difference: syncthing is a > > permanently running daemon, so changes are synced very fast (the > > interval is configurable, IIRC). OTOH, Unison is run individually > > by you. That=E2=80=99s why I prefer the latter: in case I broke some fi= le > > on my machine, I can get it back from another machine without > > having to break out the backup disk (which may not even have what I > > need because my backup interval is too big). =20 >=20 > I had a quick look and it seems to depend on systems running outside > of my network. Can it be used without any link to a "centralised" > server? yes, you can disable the external servers. if the systems are running on the same LAN (same VPN could work too?) they should find each other nevertheless. or you could host your own discovery/relay server somewhere.