projects
/
matthijs
/
upstream
/
backupninja-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added details to example.rsnap
[matthijs/upstream/backupninja-vserver.git]
/
examples
/
example.rsnap
diff --git
a/examples/example.rsnap
b/examples/example.rsnap
index 0893cdf3ae51e9759ee2caeede75e7615d19461a..c1c50dd46437d5ffef110f7f98d7239a1fce624c 100644
(file)
--- 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 =
[options]
options =
+
+## the nicelevel the backup and all the children should run at
+## the higher nicelevel reduces the priority
nicelevel = 19
nicelevel = 19
+
+# how many days of data to keep
keep = 90
keep = 90
+
+# the name of the directory created for the backup
label = systemname_domain_tld
[source]
label = systemname_domain_tld
[source]
+
+# bandwidth limit to be used for rsync
bandwidthlimit = 1000
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
#remote_rsync = /usr/local/bin/sudo_rsync
+
+# options like -P<port> can be specified here
#sshoptions =
#sshoptions =
+
+# test the ssh connection before proceding?
testconnect = yes
testconnect = yes
+
+# don't translate owner+groupid's to local names
numericids = 1
numericids = 1
+
+# turn on rsync compression? (1 = on, 0 = off)
compress = 1
compress = 1
+
srchost = backupuser@hostname.domain.tld
# files to include in the backup
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
include = /var
include = /usr/local
include = /home
@@
-29,8
+56,12
@@
exclude = /sys
exclude = /*.gz
[dest]
exclude = /*.gz
[dest]
+
+# base directory where backup is made to
directory = /media/backup
directory = /media/backup
+
+# only necessary if you hit a specifi 2.4 kernel bug
enable_mv_timestamp_bug = no
enable_mv_timestamp_bug = no
+
+# if you say no here, only one dir is kept, and 'keep' is irrelevant
incremental = yes
incremental = yes
-enable_freedups = no
-freedups = /usr/local/bin/freedups