link-dest and batch-file

Dan Stromberg drsalists at gmail.com
Tue Jun 26 20:36:17 UTC 2018


On Tue, Jun 26, 2018 at 12:02 PM, Дугин Сергей via rsync <
rsync at lists.samba.org> wrote:

> I am launching a cron bash script that does the following:
>
> Day 1
> /usr/bin/rsync -aH --link-dest /home/backuper/.BACKUP/0000009/2018-06-25
> root at 192.168.1.103:/home/ /home/backuper/.BACKUP/0000009/2018-06-26
>
> Day 2
> /usr/bin/rsync -aH --link-dest /home/backuper/.BACKUP/0000009/2018-06-26
> root at 192.168.1.103:/home/ /home/backuper/.BACKUP/0000009/2018-06-27
>
> Day 3
> /usr/bin/rsync -aH --link-dest /home/backuper/.BACKUP/0000009/2018-06-27
> root at 192.168.1.103:/home/ /home/backuper/.BACKUP/0000009/2018-06-28
>
> and etc.
>
This isn't really what you were asking, but with the "dated directories"
scheme, what happens if one or your machines crashes during a backup?
Don't you end up storing a lot more data in the next successful backup?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20180626/98007112/attachment.html>


More information about the rsync mailing list