Re: synchronising unison backups

Greg Troxel <[email protected]> Fri, 18 Apr 2025 08:00:18 -0400
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
Greg Michael <[email protected]> writes:

> This seems like it should be a useful thing to do, but it's difficult to
> achieve elegantly.
>
> 1. backupdir is the same on both sides, but has different contents (each
> keeps it own history of overwrites). If synchronised directly, the version
> numbers would clash.

I'm having a hard time following what you are doing.   Perhaps include
the config lines, and then how you are dealing with replica contents.

> 2. Each time a new backup file is created, the filenames are changed for
> all previous backup versions, leading to a cascade of updates to be
> propagated.

Do you think it is the standard/normal case to try to synchronize backup
copies?  It seems obvious to me (who doesn't use this feature) that the
backup copies should be local only.



Separately from your question, if what you want is backups rather than
sync, my take is that unison is the wrong tool, and something like bup
is better.  (There are other similar tools, e.g. borg, but I'm not
familiar with them.)

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].