[CentOS] Rsync and differential Backups

Arun Khan knura9 at gmail.com
Tue Nov 10 08:46:58 UTC 2015


On Tue, Nov 10, 2015 at 10:52 AM, Arun Khan <knura9 at gmail.com> wrote:
> On Mon, Nov 9, 2015 at 9:31 PM, Alessandro Baggi
> <alessandro.baggi at gmail.com> wrote:
>> Hi list,
>> how to perform a differential backup using rsync?
>>
>> On web there is a great confusion about diff backup concept when searched
>> with rsync.
>>
>> Users says diff because it copy only differences. For me differential is
>> backup from last full backup.
>>
>
> 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.
>

Clarification -- for diffrential back ups, you should touch the file
only when you do the *full* backup.

-- Arun Khan



More information about the CentOS mailing list