rsync - using a --files-from list to cut out scanning. How to handle deletions?

Wayne Davison wayned at samba.org
Fri Jan 18 13:16:21 MST 2013


On Mon, Jan 14, 2013 at 7:45 PM, Robert Bell <Robert.Bell at csiro.au> wrote:

> Our most common case is that a directory from 5 days ago becomes the
> target for the current backup, with the yesterday's backup being provided
> by a --link-dest= setting.
>

This will be better supported in 3.1.0, which was just updated to handle
existing files in a better manner -- it will now hard-link into the
alt-dest dirs even for existing files.  What has not changed is that
changed attributes for existing files will still be made in-place, so
things like permission changes or xattr changes can affect older files if a
hard-linked older version is already in the destination.

This is the case where a file exists in the destination, does not exist in
> the source, but is named in the --files-from= list.
>

Use the --delete-missing-args option of 3.1.0.  Though it is not yet
released, it hopefully will be soon, and is working fine for general use (I
use it at my work).

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20130118/7fb4f784/attachment.html>


More information about the rsync mailing list