2 # rsync handler example file
4 # Mandatory options are uncommented with sugested values
5 # Other options are commented out with their default values
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.
13 #log = /var/log/backup/rsync.log
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'
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
26 # folder relative do mountpoint where the backup should be stored
29 # number of backup increments (min = 5)
32 # set to 1 if fsck should run on partition after the backup is made
35 # set to 1 if $partition is mounted read-only
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
43 # rsync command nice level
46 # set to "yes" if your system isnt handling timestamps correctly
47 #enable_mv_timestamp_bug = no
54 # where the data to be backed up is (local or remote)
57 # when "yes", test the connection for a remote source before backup
60 # include folder on backup
64 # exclude folder on backup
65 exclude = exclude_folder1
66 exclude = exclude_folder2
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
73 # ssh command line (remote only)
77 # it defaults to $RSYNC value from backupninja.conf
80 # rsync command options
81 #rsync_options = "-av --delete"
83 # when set to 1, use numeric ids instead of user/group mappings on rsync
86 # if set to 1, compress data on rsync (remote source only)
89 # set a badnwidth limit in kbps (remote source only)
92 # remote rsync program (remote source only)
95 # This section is used to stop and start services that should be turned of
96 # during the backup procedure.
100 # absolute path where scripts are located
103 # script name to be stoped at the begining of the backup and started at its end
106 # You can also specify some system comands if you don't want the default system values
107 # by enabling the section below.