Folks I have been using rsnapshot for years now. The only problem I've found is that it is possible to run out of inodes. So my heads-up is that when you create the file system, ensure you have more than the default inodes - I usually multiply the default by 10. Otherwise you can find your 1Tb USB drive failing after 259Mb and you can't then recover the files. Rather embarrassing.> 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. > > HTH, > -- Arun Khan > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >Best wishes John John Logsdon Quantex Research Ltd +44 161 445 4951/+44 7717758675
On 11/10/2015 12:18 AM, John Logsdon wrote:> I have been using rsnapshot for years now. The only problem I've found is > that it is possible to run out of inodes. So my heads-up is that when you > create the file system, ensure you have more than the default inodes - I > usually multiply the default by 10. Otherwise you can find your 1Tb USB > drive failing after 259Mb and you can't then recover the files. Rather > embarrassing.or use a file system, like xfs, that has no static allocations. -- john r pierce, recycling bits in santa cruz
Thanks John - I haven't used XFS. This issue arose on ext3 I think some years ago on a rather elderly system. If XFS avoids this that's great but if someone is still using legacy systems, they need to be warned!> On 11/10/2015 12:18 AM, John Logsdon wrote: >> I have been using rsnapshot for years now. The only problem I've found >> is >> that it is possible to run out of inodes. So my heads-up is that when >> you >> create the file system, ensure you have more than the default inodes - I >> usually multiply the default by 10. Otherwise you can find your 1Tb USB >> drive failing after 259Mb and you can't then recover the files. Rather >> embarrassing. > > or use a file system, like xfs, that has no static allocations. >Best wishes John John Logsdon Quantex Research Ltd +44 161 445 4951/+44 7717758675