aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2006-08-10 20:45:52 +0000
committerMicah Anderson <micah@riseup.net>2006-08-10 20:45:52 +0000
commit6764e88373674c4d1f0a0ba8f09d508b5a634b4d (patch)
treeed4fc21d7e48b0df272ce9367f1326345956e488
parente6bf696c5abce63ef6fe59dbff115a6acd56ce77 (diff)
downloadbackupninja-6764e88373674c4d1f0a0ba8f09d508b5a634b4d.tar.gz
backupninja-6764e88373674c4d1f0a0ba8f09d508b5a634b4d.tar.bz2
Added details to example.rsnap
-rw-r--r--ChangeLog2
-rw-r--r--examples/example.rsnap37
2 files changed, 35 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b5082b..0c01669 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -52,7 +52,7 @@ version 0.9.4 -- unreleased
. Now forbid to (try to) include /.
sys:
. Many more system checks were added, thanks to Petr Klíma
- . Changed partition check to use sfdisk as its more common, thanks Rainer Zocholl
+ . Added warning if no devices were found (thanks Ranier Zocholl)
ldap:
. Compress now happens in-line to save some disk space (Closes: #370778)
lib changes
diff --git a/examples/example.rsnap b/examples/example.rsnap
index 0893cdf..c1c50dd 100644
--- a/examples/example.rsnap
+++ b/examples/example.rsnap
@@ -1,20 +1,47 @@
+##
+## This is an example rsnap configuration file.
+## The defaults are useful in most cases.
+##
+
+## global options
[options]
options =
+
+## the nicelevel the backup and all the children should run at
+## the higher nicelevel reduces the priority
nicelevel = 19
+
+# how many days of data to keep
keep = 90
+
+# the name of the directory created for the backup
label = systemname_domain_tld
[source]
+
+# bandwidth limit to be used for rsync
bandwidthlimit = 1000
+
+# remote_rsync can be used if your rsync is not in your PATH, or if you
+# need a wrapper
#remote_rsync = /usr/local/bin/sudo_rsync
+
+# options like -P<port> can be specified here
#sshoptions =
+
+# test the ssh connection before proceding?
testconnect = yes
+
+# don't translate owner+groupid's to local names
numericids = 1
+
+# turn on rsync compression? (1 = on, 0 = off)
compress = 1
+
srchost = backupuser@hostname.domain.tld
# files to include in the backup
-# (supports globbing with '*')
+# (supports globbing with '*'), by default / is included
include = /var
include = /usr/local
include = /home
@@ -29,8 +56,12 @@ exclude = /sys
exclude = /*.gz
[dest]
+
+# base directory where backup is made to
directory = /media/backup
+
+# only necessary if you hit a specifi 2.4 kernel bug
enable_mv_timestamp_bug = no
+
+# if you say no here, only one dir is kept, and 'keep' is irrelevant
incremental = yes
-enable_freedups = no
-freedups = /usr/local/bin/freedups