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 # if remote source, specify the hostname or IP
60 # when "yes", test the connection for a remote source before backup
63 # include folder on backup
67 # exclude folder on backup
68 exclude = exclude_folder1
69 exclude = exclude_folder2
71 # exlude some vserver from backup
72 # this is used only if vservers = yes on backupninja.conf
73 exclude_vserver = excluded_vserver1
74 exclude_vserver = excluded_vserver2
76 # ssh command line (remote only)
80 # it defaults to $RSYNC value from backupninja.conf
83 # rsync command options
84 #rsync_options = "-av --delete"
86 # when set to 1, use numeric ids instead of user/group mappings on rsync
89 # if set to 1, compress data on rsync (remote source only)
92 # set a badnwidth limit in kbps (remote source only)
95 # remote rsync program (remote source only)
98 # This section is used to stop and start services that should be turned of
99 # during the backup procedure.
103 # absolute path where scripts are located
106 # script name to be stoped at the begining of the backup and started at its end
109 # You can also specify some system comands if you don't want the default system values
110 # by enabling the section below.