Displaying 3 results from an estimated 3 matches for "backup_dir_dels".
2005 Dec 05
1
--backup-dir-dels breaks compatibility
I wrote a script that uses rsync a bit and wanted to use it. While testing
was fine, the real life was more complicated :)
Basically, my rsync command looks like that:
rsync -v -azu -b --backup-dir /var/backup/files/ /var/profiles/files/
username@host:/
When I execute it where both machines have rsync 2.6.3, everything runs fine.
When I execute it on a machine with rsync 2.6.6, and the remote
2008 Mar 11
0
[PATCH] Comment an obscure bit of code that sets the --suffix-dels default.
...p-dir-dels (just as --suffix defaults to empty when
+ * a --backup-dir is given). The second case does not apply to the
+ * server for consistency with server_options, which sends --suffix-dels
+ * to the server iff it differs from --suffix. */
if (!backup_suffix_dels)
backup_suffix_dels = backup_dir_dels && !am_server ? "" : backup_suffix;
backup_suffix_dels_len = strlen(backup_suffix_dels);
--
1.5.4.3.193.g6dd0e
2008 Mar 09
5
--backup-dir-dels=DIR patch
Hi All,
I think I am missing something with the backup-dir-dels.diff patch.
How does that differ from the original --backup -backup-dir=DIR
option? Using the original one works fine (on patched or non-patched
rsync), putting deleted source files into the DIR on destination, but
when I run --backup -backup-dir-dels=DIR, nothing happens to the
deleted files. Rob D