[clug] Rsync Diffs
Brendan Jurd
direvus at gmail.com
Mon Aug 3 06:04:32 UTC 2015
Sounds like version control to me.
Depending on the size of the files involved, you could put the whole thing
into a git repository, ship the commit diffs, and apply them at the other
end. If the files are large, you might want to look at git-annex. If that
doesn't suit (or you don't want to do version control) you could just use
`diff` and `patch` plus some scripting.
Cheers,
BJ
On Mon, 3 Aug 2015 at 15:59 Brett Worth <brett.worth at gmail.com> wrote:
> Hi All.
>
> While we're on the topic of backups, I have a question.
>
> Here's a hypothetical configuration:
>
> SystemA 2 x data disks DiskA and DiskB
> SystemB 1 x data disk DiskZ
>
> These two machine start life connected to the same network and I use rsync
> to make DiskA,
> DiskB and DiskZ identical.
>
> I then send SystemB to a remote place where there is no Internet access.
> There is however
> a mail service.
>
> I make changes only to DiskA during the work day and wish to have these
> changes
> periodically reflected on DiskZ. Each day I can run a task that sync's
> DiskA to DiskB.
>
> Is there any way I can capture the changes made to DiskB in such a way
> that I could put
> that information on a CD/DVD and post it to the location of SystemB so
> that someone could
> then apply the same changes to DiskZ?
>
> This could be done using find/tar and some sort of timestamp system but I
> was wondering if
> there could be a more elegant way to do it. Perhaps by capturing
> something from rsync?
>
> Regards
> Brett
>
> --
> /) _ _ _/_/ / / / _ _//
> /_)/</= / / (_(_/()/< ///
>
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux
>
More information about the linux
mailing list