Re: synchronising unison backups

Mike Bohde <[email protected]> Fri, 18 Apr 2025 08:38:14 -0400
Newsgroups gmane.network.unison.general
Message-ID <CAJbV=rc4U51JxkdM=dY=n_aWnQRsBVPSTbzxr0m=TgEVGa0dKQ@mail.gmail.com>
Greg M. you may need to accurately qualify what you are wanting to
accomplish. I personally do use Unison to sync my cold storage hard drives
to my data.
I am not seeking an incremental backup strategy, that sounds like what you
want. If I understand what you are looking for you have two possible
solutions.
1 - Use Unison to synchronize your backups. Use different media for your
incremental. E.g. rotate media like you would tapes.
2 - Use an incremental backup software in place of Unison.

On Fri, Apr 18, 2025 at 8:00 AM Greg Troxel <[email protected]> wrote:

> 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].
>
>

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