On 04/09/2014 15:39, Dominic Raferd wrote:
I like that idea. But whereas the initial snapshot takes up almost no disk space, I think that deleting its rdiff-backup-data directory would cause it to swell in size by the size of the rdiff-backup-data directory, or perhaps somewhat more (since snapshotting works at block level). Better just to rsync to it ignoring the rdiff-backup-data directory on the destination (I think using rsync --excl /rdiff-backup-data should do it). Then, as you suggest, run rdiff-backup from the snapshot back to the original location, again ignoring /rdiff-backup-data on the source (rdiff-backup-data --exclude /rdiff-backup-data) - or maybe rdiff-backup would ignore it anyway? Cheers, Dominic
To correct what I wrote above, by experiment I have realised that deleting data from an LVM snapshot does *not* cause substantial swelling of the snapshot. So Chris's suggested strategy should work fine.
Dominic -- *TimeDicer* <http://www.timedicer.co.uk>: Free File Recovery from Whenever _______________________________________________ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki