Displaying 1 result from an estimated 1 matches for "includedfiles".
2003 Mar 12
0
can't delete older file/directory links on another local partition after `snapshot' type backup script
...basically as per
http://www.mikerubel.org/computers/rsync_snapshots/#Incremental.
I have a separate partition which I remount as rw, then cp -al yesterday's
tree to a new one, say /todays/backup/directory. Then
rsync -auR --delete --delete-excluded --ignore-errors --force
--include-from=$includedfiles / /todays/backup/directory
to copy over any new files from the master (/) and delete any links to files
that are no longer on the master. This puts the root of master at
/todays/backup/directory/ because of -R.
The problem: the links to old files and directories aren't getting deleted....