Buck,
You have a good point about make_bak_dir(), and pose a good question...
With the --backup-dir switch, any file *or directory* that is destined
for deletion is saved to the backup directory. A file is deleted by
rsync whenever it is actually deleted on the sync system (obviously!),
or when
Alan,
The backup-dir is directly related to the destination, so is only a
directory, not a server::module/directory thing.
To be more specific: backup-dir=SOMETHING is a command to the
destination RSYNC program to place files that have changed AT THE
CURRENT DESTINATION into the location
Carey,
What you are seeing is, in fact, the case, but the function that creates
the dirs is robust_move() in backup.c
The backup option captures files and/or directories that are deleted or
changed between syncs. So, if a directory is *changed*
(deleted/renamed/moved), then the directory *and*