blob: c1c50dd46437d5ffef110f7f98d7239a1fce624c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
##
## 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 '*'), by default / is included
include = /var
include = /usr/local
include = /home
# files to exclude from the backup
# (supports globbing with '*')
exclude = /home/*/Maildir
exclude = /var/log
exclude = /proc
exclude = /srv
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
|