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 9D413158041 for ; Thu, 28 Mar 2024 00:08:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C13A8E2A0F; Thu, 28 Mar 2024 00:08:11 +0000 (UTC) Received: from msi.no.swordarmor.fr (msi.no.swordarmor.fr [IPv6:2a0e:f42::1]) (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 45B62E2A05 for ; Thu, 28 Mar 2024 00:08:09 +0000 (UTC) Received: from irc-clt.no.swordarmor.fr (irc-clt.no.as208627.net [IPv6:2a0e:f42:a::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by msi.no.swordarmor.fr (Postfix) with ESMTPS id 7CE84380A67 for ; Thu, 28 Mar 2024 01:08:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=swordarmor.fr; s=msi; t=1711584486; bh=8/ttwS4yNWQuYbxtZd52YtZTi2GUJoAI3MSXCSZ0qzs=; h=Date:From:To:Subject:References:In-Reply-To; b=JAIfXfu2I0CJvwqxpoUh8CT9KMUmFokn/7Wl2XeOtOi5uLKUykK1luHYFmKTO45EI B2upTmVjQiTCX+8VcK/fWyMy2bVeAksG89u7VuQ5CFkP4BI8xgOEk8U3gQsfkFI/vq xxUKVQFo0sHA1rEiHngkfaV4P+mNpmND/WBzOVAo= Date: Thu, 28 Mar 2024 01:08:03 +0100 From: Alarig Le Lay To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to synchronise between 2 locations Message-ID: References: <12420309.O9o76ZdvQC@persephone> <464542cc-195a-4393-a154-bb559bdea759@yahoo.com> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Action: no action X-Rspamd-Server: msi.no.swordarmor.fr X-Rspamd-Queue-Id: 7CE84380A67 X-Spamd-Result: default: False [-0.10 / 15.00]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:208627, ipnet:2a0e:f42::/32, country:FR]; IP_WHITELIST(0.00)[2a0e:f42:a::3] X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: IP_WHITELIST X-Archives-Salt: 31413294-27f9-465e-954d-c62070c98d4c X-Archives-Hash: 3b61036f1c10681787b66c0b3e6e4249 On Wed 27 Mar 2024 20:37:27 GMT, Frank Steinmetzger wrote: > +1 for Unison. I’ve been using it for many years now to synchronise between > the four PC systems in my household. > > Unison creates a local index of all files it syncronised. So when you move a > file around on one end, Unison will notice that because the file at the new > location has the same hash as the file at the old location. As a result, it > does not transmit the file anew to the remote host, but instead copies it > locally on the remote host. > > Since Unison uses ssh underneath, you can use ssh’s transparent compression > to speed up the transfer. I’ve been thinking about using it to synchronise dovecot maildir folders, since dsync is now deprecated. But I’m not sure about it as I never used it under “heavy” loads. Do you have any thoughts about it? -- Alarig