X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Frsync.in;h=9baa2f215218887c35d7d62a849788393c36a832;hb=56617bfc5bd846f660ac015d7ee349e0134c7a43;hp=d3d704c1a4a08609b665286574b077819514fda9;hpb=3a74d7d526b38b232b839c4e4b0bc1420ae664f8;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/rsync.in b/handlers/rsync.in index d3d704c..9baa2f2 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -19,11 +19,13 @@ # backupdir = folder relative do $mountpoint where the backup should be stored # days = number of backup increments (min = 5) # lockfile = lockfile to be kept during backup execution +# nicelevel = rsync command nice level # enable_mv_timestamp_bug = set to "yes" if your system isnt handling timestamps correctly # tmp = temp folder # # [source] # from = local or remote +# host = source hostname or ip, if remote backup # testconnect = when "yes", test the connection for a remote source before backup # include = include folder on backup # exclude = exclude folder on backup @@ -34,7 +36,7 @@ # numericids = when set to 1, use numeric ids instead of user/group mappings on rsync # compress = if set to 1, compress data on rsync (remote source only) # bandwidthlimit = set a badnwidth limit in kbps (remote source only) -# remote_rsync = remove rsync program (remote source only) +# remote_rsync = remote rsync program (remote source only) # # [services] # initscripts = absolute path where scripts are located @@ -63,7 +65,7 @@ getconf mv mv getconf fsck fsck setsection general -getconf log /var/log/backupninja-rsync.log +getconf log /var/log/backup/rsync.log getconf partition getconf fscheck getconf read_only @@ -100,7 +102,7 @@ getconf service function rotate { - if [[ "$2" -lt 4 ]]; then + if [[ "$2" < 4 ]]; then error "Rotate: minimum of 4 rotations" exit 1 fi