Re: Rsync and differential Backups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 11/09/2015 09:22 PM, Arun Khan wrote:
You can use "newer" options of the find command and pass the file list
to rsync or scp to "backup" only those files that have changed since
the last run.  You can keep a file like .lastbackup and timestamp it
(touch) at the start of the backup process.  Next backup you compare
the current timestamp with the timestamp on this file.

Absolutely none of that is necessary with rsync, and the process you described is likely to miss files that are modified while "find" runs.

If you're going to use rsync to make backups, just use a frontend like rsnapshot or backuppc.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux