[PATCH] rrsync: Add several long options used by BackupPC
Jakob Unterwurzacher
jakob.unterwurzacher at theobroma-systems.com
Tue Sep 2 10:26:19 MDT 2014
rrsync used to throw the error
/usr/local/bin/rrsync: invalid rsync-command syntax or options
when run under BackupPC 3.2.1, with this patch full and incremental
backups work.
---
support/rrsync | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/support/rrsync b/support/rrsync
index 6f83f9d..c231ea3 100644
--- a/support/rrsync
+++ b/support/rrsync
@@ -60,6 +60,7 @@ our $short_with_num = 'B'; # DO NOT REMOVE ANY
our %long_opt = (
'append' => 0,
'backup-dir' => 2,
+ 'block-size' => 1,
'bwlimit' => 1,
'checksum-seed' => 1,
'compare-dest' => 2,
@@ -82,15 +83,19 @@ our %long_opt = (
'force' => 0,
'from0' => 0,
'fuzzy' => 0,
+ 'group' => 0,
'groupmap' => 1,
+ 'hard-links' => 0,
'iconv' => 1,
'ignore-errors' => 0,
'ignore-existing' => 0,
'ignore-missing-args' => 0,
+ 'ignore-times' => 0,
'info' => 1,
'inplace' => 0,
'link-dest' => 2,
'list-only' => 0,
+ 'links' => 0,
'log-file' => 3,
'log-format' => 1,
'max-delete' => 1,
@@ -103,10 +108,14 @@ our %long_opt = (
'no-relative' => 0,
'no-specials' => 0,
'numeric-ids' => 0,
+ 'one-file-system' => 0,
'only-write-batch' => 1,
+ 'owner' => 0,
'partial' => 0,
'partial-dir' => 2,
'preallocate' => 0,
+ 'perms' => 0,
+ 'recursive' => 0,
'remove-sent-files' => $ro ? -1 : 0,
'remove-source-files' => $ro ? -1 : 0,
'safe-links' => 0,
@@ -120,6 +129,7 @@ our %long_opt = (
'super' => 0,
'temp-dir' => 2,
'timeout' => 1,
+ 'times' => 0,
'use-qsort' => 0,
'usermap' => 1,
);
--
1.9.0
More information about the rsync
mailing list