RE: when using --backup-dir: why not make_bak_dir() . . .

2002-12-16 Thread James Delahanty
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

Understanding backup-dir semantics

2001-12-16 Thread James Delahanty
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

Re: permissions bug w/ --backup-dir or --backup option?

2001-09-20 Thread James Delahanty
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*