duplicity: clarify comments about duplicity versions compatibility
[matthijs/upstream/backupninja.git] / examples / example.rsync
1 #
2 # rsync handler example file
3 #
4 # Mandatory options are uncommented with sugested values
5 # Other options are commented out with their default values
6 #
7 # Note: You dont need to manually specify vservers using "include = /vservers".
8 #       They're automatically backuped if vserver is set to "yes" on you backupninja.conf.
9
10 [general]
11
12 # rsync log file
13 #log = /var/log/backup/rsync.log
14
15 # partition device where the backup lives
16 # just use this option if your data is backed up in a separate partition and
17 # you want backupninja to fsck it; this option will just be used if fscheck
18 # (see below) is set to 'yes'
19 #partition = 
20
21 # backup partition mountpoint or backup main folder
22 # this doesn't need to be a real partition, but should be at least the
23 # main folder where the backup is being stored
24 mountpoint = /mnt/backup
25
26 # folder relative do mountpoint where the backup should be stored
27 backupdir = myserver
28
29 # number of backup increments (min = 5)
30 days = 7 
31
32 # set to 1 if fsck should run on partition after the backup is made
33 #fscheck = 
34
35 # set to 1 if $partition is mounted read-only
36 #read_only = 
37
38 # use this if you need a lockfile to be kept during backup execution
39 # this is an useful feature in case you have some tasks that should
40 # know if the backup is running or not
41 #lockfile = 
42
43 # rsync command nice level
44 #nicelevel = 0
45
46 # set to "yes" if your system isnt handling timestamps correctly
47 #enable_mv_timestamp_bug = no
48
49 # temp folder
50 #tmp = /tmp
51
52 [source]
53
54 # where the data to be backed up is (local or remote)
55 #from = local
56
57 # when "yes", test the connection for a remote source before backup
58 #testconnect = no
59
60 # include folder on backup
61 include = /etc
62 include = /var
63
64 # exclude folder on backup
65 exclude = exclude_folder1
66 exclude = exclude_folder2
67
68 # exlude some vserver from backup
69 # this is used only if vservers = yes on backupninja.conf
70 exclude_vserver = excluded_vserver1
71 exclude_vserver = excluded_vserver2
72
73 # ssh command line (remote only)
74 #ssh = ssh
75
76 # rsync program
77 # it defaults to $RSYNC value from backupninja.conf
78 #rsync = $RSYNC
79
80 # rsync command options
81 #rsync_options = "-av --delete"
82
83 # when set to 1, use numeric ids instead of user/group mappings on rsync
84 #numericids = 0
85
86 # if set to 1, compress data on rsync (remote source only)
87 #compress = 0
88
89 # set a badnwidth limit in kbps (remote source only)
90 #bandwidthlimit =
91
92 # remote rsync program (remote source only)
93 #remote_rsync = rsync
94
95 # This section is used to stop and start services that should be turned of
96 # during the backup procedure.
97 #
98 #[services]
99 #
100 # absolute path where scripts are located
101 #initscripts =
102 #
103 # script name to be stoped at the begining of the backup and started at its end
104 #service =
105
106 # You can also specify some system comands if you don't want the default system values
107 # by enabling the section below.
108 #
109 #[system]
110 #
111 # rm command
112 #rm = rm
113 #
114 # cp command
115 #cp = cp
116 #
117 # touch command
118 #touch = touch
119 #
120 # mv command
121 #mv = mv
122 #
123 # fsck command
124 #fsck = fsck