search for: backup_only

Displaying 1 result from an estimated 1 matches for "backup_only".

2003 Sep 05
1
new option suggestion '--backup-only'
...=============== diff -ur rsync/backup.c rsync-backuponly/backup.c --- rsync/backup.c 2003-08-22 09:30:46.000000000 +0900 +++ rsync-backuponly/backup.c 2003-09-02 15:29:03.000000000 +0900 @@ -25,6 +25,7 @@ extern int backup_dir_len; extern char *backup_suffix; extern char *backup_dir; +extern int backup_only; extern int am_root; extern int preserve_devices; @@ -133,21 +134,26 @@ int keep_trying = 4; int keep_path_extfs = 0; int failed; + int saveerrno; while (keep_trying) { - if (keep_path_extfs) { + if (keep_path_extfs || backup_only) { failed = copy_file(src, dst, 0755); + savee...