This file is indexed.

/usr/share/doc/backupninja/examples/example.rsync is in backupninja 1.0.1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
#
# rsync handler example file
#
# Mandatory options are uncommented with sugested values
# Other options are commented out with their default values
#
# Note: You dont need to manually specify vservers using "include = /vservers".
#       They're automatically backuped if vserver is set to "yes" on you backupninja.conf.

[general]

# rsync log file
#log = /var/log/backup/rsync.log

# partition device where the backup lives
# just use this option if your data is backed up in a separate partition and
# you want backupninja to fsck it; this option will just be used if fscheck
# (see below) is set to 'yes'
#partition = 

# set to 1 if fsck should run on partition after the backup is made
#fscheck = 

# set to 1 if partition is mounted read-only
#read_only = 

# backup partition mountpoint or backup main folder
# this doesn't need to be a real partition, but should be at least the
# main folder where the backup is being stored
mountpoint = /mnt/backup

# folder relative do mountpoint where the backup should be stored
backupdir = myserver

# temp folder
#tmp = /tmp

# specify backup storage format: short, long or mirror (i.e, no rotations)
#
# In the short format, incremental backups are rotated every day the handler
# runs an by a finite number of times (backup.0, backup.1, backup.1, etc), so
# if you want to have incremental backups for longer periods (like months) you
# have to configure rotations for 30 or more using the "days" parameter at the
# [general] section in the handler config.
# 
# The short format is better described here:
# http://www.mikerubel.org/computers/rsync_snapshots/#Incremental
# 
# The long format is inspired by the maildir handler and allows keeping backups
# of longer periods (weeks and months) using less rotations as it stores
# the increments in folders like daily.1, weekly.1, monthly.1 and has three
# rotation parameters:
# 
#   keepdaily   = number of daily backup increments
#   keepweekly  = number of weekly backup increments
#   keepmonthly = number of monthly backup increments
#
format = short

# for short storage format, specify the number of backup increments (min = 2, set to 1 or less to disable)
#
# Note that setting days = 0 is almost the same as using format = mirror except
# that with the days config your backup gets a .0 suffix at the destination
# folder, making it easier to turn it later to an incremental backup.
#
days = 7

# for long storage format, specify the number of daily backup increments
#keepdaily = 7

# for long storage format, specify the number of weekly backup increments
#keepweekly = 3

# for long storage format, specify the number of monthly backup increments
#keepmonthly = 1

# rsync command nice level
#nicelevel = 0

# set to "yes" if your system isnt handling timestamps correctly
#enable_mv_timestamp_bug = no

# temp folder
#tmp = /tmp

# set to "yes" if you want to use multiconnection ssh support
#multiconnection = no

[source]

# where the data to be backed up is (local or remote)
#from = local

# if remote source, specify the hostname or IP
#host =

# remote port number (remote source only)
#port = 22

# remote user name (remote source only)
#user =

# when "yes", test the connection for a remote source before backup
#testconnect = no

# include folder on backup
include = /etc
include = /var

# exclude folder on backup
exclude = exclude_folder1
exclude = exclude_folder2

# exlude some vserver from backup
# this is used only if vservers = yes on backupninja.conf
exclude_vserver = excluded_vserver1
exclude_vserver = excluded_vserver2

# ssh command line (remote only)
#ssh = ssh

# ssh or rsync (remote source only)
#protocol = ssh

# rsync program
# it defaults to $RSYNC value from backupninja.conf
#rsync = $RSYNC

# rsync command options
#rsync_options = "-av --delete --recursive"

# when set to 1, use numeric ids instead of user/group mappings on rsync
#numericids =

# if set to 1, compress data on rsync (remote source only)
#compress = 0

# set a bandwidth limit in KB/s (remote source only)
#bandwidthlimit =

# remote rsync program (remote source only)
#remote_rsync = rsync

# ssh key file (remote source only)
#id_file = /root/.ssh/id_dsa

# set to "yes" to rsync use a batch file as source
#batch = no

# folder where the batch file is located
#batchbase =

# set yes if you want rsync to use a file list source
#filelist = no

# folder where the file list is placed
#filelistbase =

[dest]

# backup destination type (local or remote)
#dest = local

#  when "yes", test the connection for a remote source before backup
#testconnect = no

# ssh command line (remote dest only)
#ssh = ssh

# ssh or rsync (remote dest only)
#protocol = ssh

# when set to 1, use numeric ids instead of user/group mappings on rsync
#numericids =

# if set to 1, compress data on rsync (remote source only)
#compress = 0

# destination host name (remote destination only)
#host =

# remote port number (remote destination only)
#port = 22

# remote user name (remote destination only)
#user =

# ssh key file (remote destination only)
#id_file = /root/.ssh/id_dsa

# set a bandwidth limit in KB/s (remote destination only)
#bandwidthlimit =

# remote rsync program (remote dest only)
#remote_rsync = rsync

# set to "yes" to rsync write a batch file from the changes
#batch = no

# folder where the batch file should be written
#batchbase = /var/backups/rsync/batches

# set to yes so rsync use the --fake-super flag (remote destination only)
#fakesuper = yes

# This section is used to stop and start services that should be turned of
# during the backup procedure.
#
#[services]
#
# absolute path where scripts are located
#initscripts = /etc/init.d
#
# script name to be stoped at the begining of the backup and started at its end
#service =

# You can also specify some system comands if you don't want the default system values
# by enabling the section below.
#
#[system]
#
# rm command
#rm = rm
#
# cp command
#cp = cp
#
# touch command
#touch = touch
#
# mv command
#mv = mv
#
# fsck command
#fsck = fsck