Dear rsync folks,
Re the recent discussion of:
Subject: RE: Does files-from work with --delete?
We have come across the same issue, in doing partial backups of a file
system and using the --files-from and --link-dest feature to a re-cycled
area. Files that should be deleted tend to build up.
I mentioned this issue to a colleague.
He suggested that after the backup is done, a reverse rsync -n from the
destination to source be done, to identify files that would be
transferred from destination to source to complete the synchronisation.
This then identifies files that are in the destination but not in the
source, and these can then be easily deleted in the destination.
I haven't tested this, but it sounds good, and have added this to my
list of actions for our backup scripts.
Regards
Rob. Bell e-mail: Robert.Bell at csiro.au
--
Dr Robert C. Bell
CSIRO Advanced Scientific Computing, Technical Services Manager
Chief Technology Officer, Bureau of Meteorology / CSIRO
High Performance Computing and Communications Centre (HPCCC)
Street: HPCCC Level 11, 700 Collins Street, Docklands Vic 3008, Australia
Postal: HPCCC Level 11, GPO Box 1289, Melbourne Vic 3001, Australia
Phone +61 3 9669 8102, fax +61 3 9669 8112, mobile 0428 108 333, CSIRO 93 3810
http://www.hpsc.csiro.au/ http://www.hpccc.gov.au/