Skip to content

Commit

Permalink
Added details to example.rsnap
Browse files Browse the repository at this point in the history
  • Loading branch information
micah committed Aug 10, 2006
1 parent e6bf696 commit 6764e88
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
37 changes: 34 additions & 3 deletions examples/example.rsnap
Original file line number Diff line number Diff line change
@@ -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 = [email protected]

# files to include in the backup
# (supports globbing with '*')
# (supports globbing with '*'), by default / is included
include = /var
include = /usr/local
include = /home
Expand All @@ -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

0 comments on commit 6764e88

Please sign in to comment.