/[smecontribs]/rpms/smeserver-BackupPC/contribs7/smeserver-BackupPC-0.1-config_path.patch
ViewVC logotype

Contents of /rpms/smeserver-BackupPC/contribs7/smeserver-BackupPC-0.1-config_path.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Mar 2 17:30:36 2009 UTC (15 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-BackupPC-0_1-6_el4_sme, smeserver-BackupPC-0_1-12_el4_sme, smeserver-BackupPC-0_1-11_el4_sme, smeserver-BackupPC-0_1-4_el4_sme, smeserver-BackupPC-0_1-2_el4_sme, smeserver-BackupPC-0_1-7_el4_sme, smeserver-BackupPC-0_1-5_el4_sme, smeserver-BackupPC-0_1-10_el4_sme, smeserver-BackupPC-0_1-9_el4_sme, smeserver-BackupPC-0_1-8_el4_sme, HEAD
Error occurred while calculating annotation data.
Initial import of smeserver-BackupPC

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/etc/BackupPC/localArchive.conf mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/localArchive.conf
2 --- smeserver-BackupPC-0.1/root/etc/BackupPC/localArchive.conf 1970-01-01 01:00:00.000000000 +0100
3 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/localArchive.conf 2008-10-06 19:02:24.000000000 +0200
4 @@ -0,0 +1,23 @@
5 +# Destination directory, where the archive will be created
6 +destination = /tmp/
7 +
8 +# Split size in MBytes. If different from 0, the archive will be cut at this size
9 +split = 0
10 +
11 +# Compression. Can be gzip, bzip2 or none
12 +compress = gzip
13 +
14 +# The backup number to archive, -1 means the last one
15 +backupNum = -1
16 +
17 +# The share to archive
18 +share = *
19 +
20 +# The amount of parity (using par2)
21 +parity = 0
22 +
23 +# The hosts to archive, separate them with a space eg: localhost server1 server2
24 +hosts = localhost
25 +
26 +# The user who will receive the log of the archive, you can set a email address out of the server if you want
27 +sendMailTo = admin
28 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/etc/BackupPC/localCopyPool.conf mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/localCopyPool.conf
29 --- smeserver-BackupPC-0.1/root/etc/BackupPC/localCopyPool.conf 1970-01-01 01:00:00.000000000 +0100
30 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/localCopyPool.conf 2008-10-06 19:02:39.000000000 +0200
31 @@ -0,0 +1,17 @@
32 +# Destination directory, where the pool will be copied
33 +destination = /tmp/
34 +
35 +# The source directory, the topdir of the data
36 +source = /var/lib/BackupPC
37 +
38 +# Compression used for the "pc" archive. Can be gzip, bzip2 or none
39 +compress = gzip
40 +
41 +# If you want to extract the "pc" archive on the destination, can be set to 'yes' or 'no'
42 +extract = yes
43 +
44 +# Stop BackupPC daemon. You should let this to 'yes' unless you use something like LVM snapshots
45 +stop = yes
46 +
47 +# The user who will receive the log of the archive, you can set a email address out of the server if you want
48 +sendMailTo = admin
49 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/etc/BackupPC/pc/localserver-template.pl mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/pc/localserver-template.pl
50 --- smeserver-BackupPC-0.1/root/etc/BackupPC/pc/localserver-template.pl 1970-01-01 01:00:00.000000000 +0100
51 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/pc/localserver-template.pl 2008-10-06 17:12:52.000000000 +0200
52 @@ -0,0 +1,28 @@
53 +$Conf{RsyncShareName} = [
54 + '/'
55 +];
56 +$Conf{BackupFilesExclude} = {
57 + '/' => [
58 + '/var/lib/BackupPC',
59 + '/proc',
60 + '/tmp',
61 + '/sys',
62 + '/dev',
63 + '/boot',
64 + '/mnt',
65 + '/media',
66 + '/selinux',
67 + '/aquota.*',
68 + '/lost+found',
69 + '/initrd',
70 + '/var/tmp',
71 + '/var/lib/mysql'
72 + ]
73 +};
74 +$Conf{DumpPreUserCmd} = '/usr/bin/sudo /usr/share/BackupPC/bin/BackupPC_SME_pre-backup';
75 +$Conf{XferMethod} = 'rsync';
76 +$Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList+';
77 +$Conf{RsyncClientRestoreCmd} = '/usr/bin/sudo $rsyncPath $argList+';
78 +$Conf{ClientNameAlias} = '127.0.0.1';
79 +$Conf{BackupsDisable} = 1;
80 +
81 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/etc/BackupPC/pc/smeserver-template.pl mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/pc/smeserver-template.pl
82 --- smeserver-BackupPC-0.1/root/etc/BackupPC/pc/smeserver-template.pl 1970-01-01 01:00:00.000000000 +0100
83 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/pc/smeserver-template.pl 2008-10-06 15:06:49.000000000 +0200
84 @@ -0,0 +1,29 @@
85 +$Conf{RsyncShareName} = [
86 + '/'
87 +];
88 +$Conf{BackupFilesExclude} = {
89 + '/' => [
90 + '/opt/backuppc/files/pc',
91 + '/opt/backuppc/files/pool',
92 + '/opt/backuppc/files/cpool',
93 + '/opt/backuppc/files/trash',
94 + '/opt/backuppc/files/lost+found',
95 + '/proc',
96 + '/tmp',
97 + '/sys',
98 + '/dev',
99 + '/boot',
100 + '/mnt',
101 + '/media',
102 + '/selinux',
103 + '/aquota.*',
104 + '/lost+found',
105 + '/initrd',
106 + '/var/tmp',
107 + '/var/lib/mysql'
108 + ]
109 +};
110 +$Conf{DumpPreUserCmd} = '$sshPath -l root $host "/usr/local/BackupPC/bin/BackupPC_SME_pre-backup"';
111 +$Conf{XferMethod} = 'rsync';
112 +$Conf{BackupsDisable} = 1;
113 +
114 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/etc/BackupPC/pc/windows-template.pl mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/pc/windows-template.pl
115 --- smeserver-BackupPC-0.1/root/etc/BackupPC/pc/windows-template.pl 1970-01-01 01:00:00.000000000 +0100
116 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/pc/windows-template.pl 2008-10-06 15:06:50.000000000 +0200
117 @@ -0,0 +1,38 @@
118 +$Conf{ClientCharset} = 'cp1252';
119 +$Conf{RsyncShareName} = [
120 + 'cDrive'
121 +];
122 +$Conf{RsyncdPasswd} = 'secret';
123 +$Conf{RsyncdUserName} = 'backuppc';
124 +$Conf{XferMethod} = 'rsyncd';
125 +$Conf{BackupFilesExclude} = {
126 + '*' => [
127 + '*/hiberfil.sys',
128 + '*/pagefile.sys',
129 + '*/WUTemp',
130 + '*/RECYCLER',
131 + '*/UsrClass.dat',
132 + '*/UsrClass.dat.LOG',
133 + '*/NTUSER.DAT',
134 + '*/NTUSER.DAT.LOG',
135 + '*/Temporary?Internet?Files/*',
136 + '*/Documents?and?Settings/*/Recent',
137 + '*/Cache',
138 + '*/parent.lock',
139 + '*/Thumbs.db',
140 + '*/IconCache.db',
141 + '*/System?Volume?Information',
142 + '*/Temp/*',
143 + '*.tmp',
144 + '*.bak',
145 + '*/WINDOWS/system32/config/SYSTEM',
146 + '*/WINDOWS/system32/config/SOFTWARE',
147 + '*/WINDOWS/system32/config/SECURITY',
148 + '*/WINDOWS/system32/config/SECURITY.LOG',
149 + '*/WINDOWS/system32/config/SAM',
150 + '*/WINDOWS/system32/config/SAM.LOG',
151 + '*/WINDOWS/system32/config/DEFAULT',
152 + ]
153 +};
154 +$Conf{BackupsDisable} = 1;
155 +
156 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/etc/BackupPC/remoteArchive.conf mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/remoteArchive.conf
157 --- smeserver-BackupPC-0.1/root/etc/BackupPC/remoteArchive.conf 1970-01-01 01:00:00.000000000 +0100
158 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/remoteArchive.conf 2008-10-06 15:06:50.000000000 +0200
159 @@ -0,0 +1,24 @@
160 +# The host you to send archives to
161 +remoteHost = remote.host.com
162 +
163 +# The remote user to use for the ssh connection
164 +remoteUser = root
165 +
166 +# Destination directory, where the archive will be created
167 +remoteDir = /tmp/
168 +
169 +# Compression. Can be gzip, bzip2 or none
170 +compress = gzip
171 +
172 +# The backup number to archive, -1 means the last one
173 +backupNum = -1
174 +
175 +# The share to archive
176 +share = *
177 +
178 +# The hoststo archive, separate them with a space eg: localhost server1 server2
179 +hosts = localhost
180 +
181 +# The user who will receive the log of the archive, you can set a email address out of the server if you want
182 +sendMailTo = admin
183 +
184 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/etc/BackupPC/remoteCopyPool.conf mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/remoteCopyPool.conf
185 --- smeserver-BackupPC-0.1/root/etc/BackupPC/remoteCopyPool.conf 1970-01-01 01:00:00.000000000 +0100
186 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/remoteCopyPool.conf 2008-10-06 19:03:10.000000000 +0200
187 @@ -0,0 +1,23 @@
188 +# The host you to send the pool to
189 +remoteHost = remote.host.com
190 +
191 +# The remote user to use for the ssh connection
192 +remoteUser = root
193 +
194 +# Destination directory, where the archive will be created
195 +remoteDir = /tmp/
196 +
197 +# The source directory, the topdir of the data
198 +source = /var/lib/BackupPC
199 +
200 +# Compression used for the "pc" archive. Can be gzip, bzip2 or none
201 +compress = gzip
202 +
203 +# If you want to extract the "pc" archive on the destination, can be set to 'yes' or 'no'
204 +extract = yes
205 +
206 +# Stop BackupPC daemon. You should let this to 'yes' unless you use something like LVM snapshots
207 +stop = yes
208 +
209 +# The user who will receive the log of the archive, you can set a email address out of the server if you want
210 +sendMailTo = admin
211 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/etc/BackupPC/usbArchive.conf mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/usbArchive.conf
212 --- smeserver-BackupPC-0.1/root/etc/BackupPC/usbArchive.conf 1970-01-01 01:00:00.000000000 +0100
213 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/usbArchive.conf 2008-10-06 15:06:50.000000000 +0200
214 @@ -0,0 +1,23 @@
215 +# The device you want to use, where the archive will be created
216 +device = /dev/sdc1
217 +
218 +# Split size in MBytes. If different from 0, the archive will be cut at this size
219 +split = 0
220 +
221 +# Compression. Can be gzip, bzip2 or none
222 +compress = gzip
223 +
224 +# The backup number to archive, -1 means the last one
225 +backupNum = -1
226 +
227 +# The share to archive
228 +share = *
229 +
230 +# The amount of parity (using par2)
231 +parity = 0
232 +
233 +# The hoststo archive, separate them with a space eg: localhost server1 server2
234 +hosts = localhost
235 +
236 +# The user who will receive the log of the archive, you can set a email address out of the server if you want
237 +sendMailTo = admin
238 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/etc/BackupPC/usbCopyPool.conf mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/usbCopyPool.conf
239 --- smeserver-BackupPC-0.1/root/etc/BackupPC/usbCopyPool.conf 1970-01-01 01:00:00.000000000 +0100
240 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/etc/BackupPC/usbCopyPool.conf 2008-10-06 19:03:34.000000000 +0200
241 @@ -0,0 +1,18 @@
242 +# The device you want to use, where the archive will be created
243 +device = /dev/sdc1
244 +
245 +# Compression to use for the "pc" archive. Can be gzip, bzip2 or none
246 +compress = gzip
247 +
248 +# The source directory, the topdir of the data
249 +source = /var/lib/BackupPC
250 +
251 +# If you want to extract the "pc" archive on the destination, can be set to 'yes' or 'no'
252 +extract = yes
253 +
254 +# Stop BackupPC daemon. You should let this to 'yes' unless you use something like LVM snapshots
255 +stop = yes
256 +
257 +# The user who will receive the log of the archive, you can set a email address out of the server if you want
258 +sendMailTo = admin
259 +
260 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/etc/e-smith/events/actions/backuppc-checkupgrade mezzanine_patched_smeserver-BackupPC-0.1/root/etc/e-smith/events/actions/backuppc-checkupgrade
261 --- smeserver-BackupPC-0.1/root/etc/e-smith/events/actions/backuppc-checkupgrade 2008-10-14 21:00:00.000000000 +0200
262 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/etc/e-smith/events/actions/backuppc-checkupgrade 2008-12-11 13:59:24.000000000 +0100
263 @@ -1,55 +1,55 @@
264 #!/bin/bash
265
266 # We may need to update some configuration if we have upgraded from smeserver-backuppc.fws
267 -if [ -e /var/lib/BackupPC/etc/config.pl ]; then
268 +if [ -e /etc/BackupPC/config.pl ]; then
269
270 # The new URL for backuppc images is /BackupPC/images
271 - sed -i 's|^\$Conf{CgiImageDirURL} .*|$Conf{CgiImageDirURL} = "/BackupPC/images";|' /var/lib/BackupPC/etc/config.pl
272 + sed -i 's|^\$Conf{CgiImageDirURL} .*|$Conf{CgiImageDirURL} = "/BackupPC/images";|' /etc/BackupPC/config.pl
273
274 # Update paths
275 - sed -i 's|/opt/backuppc/files|/var/lib/BackupPC|' /var/lib/BackupPC/etc/config.pl
276 - sed -i 's|/usr/local/BackupPC|/usr/share/BackupPC|' /var/lib/BackupPC/etc/config.pl
277 - sed -i 's|/opt/backuppc/cgi-bin|/usr/share/BackupPC/sbin|' /var/lib/BackupPC/etc/config.pl
278 - sed -i 's|/opt/backuppc/images|/usr/share/BackupPC/html|' /var/lib/BackupPC/etc/config.pl
279 + sed -i 's|/opt/backuppc/files|/var/lib/BackupPC|' /etc/BackupPC/config.pl
280 + sed -i 's|/usr/local/BackupPC|/usr/share/BackupPC|' /etc/BackupPC/config.pl
281 + sed -i 's|/opt/backuppc/cgi-bin|/usr/share/BackupPC/sbin|' /etc/BackupPC/config.pl
282 + sed -i 's|/opt/backuppc/images|/usr/share/BackupPC/html|' /etc/BackupPC/config.pl
283
284 # Update the admin user and the user whi receives the alerts
285 - sed -i "s|$Conf{CgiAdminUsers} = '';|$Conf{CgiAdminUsers} = 'admin';|" /var/lib/BackupPC/etc/config.pl
286 - sed -i "s|$Conf{EMailAdminUserName} = 'backuppc';|$Conf{EMailAdminUserName} = 'admin';|" /var/lib/BackupPC/etc/config.pl
287 + sed -i "s|$Conf{CgiAdminUsers} = '';|$Conf{CgiAdminUsers} = 'admin';|" /etc/BackupPC/config.pl
288 + sed -i "s|$Conf{EMailAdminUserName} = 'backuppc';|$Conf{EMailAdminUserName} = 'admin';|" /etc/BackupPC/config.pl
289
290 # Update the CgiURL
291 SystemName=$(/sbin/e-smith/db configuration get SystemName)
292 DomainName=$(/sbin/e-smith/db configuration get DomainName)
293 - sed -i "s|$Conf{CgiURL} = 'http://localhost/.*|$Conf{CgiURL} = 'https://$SystemName.$DomainName/BackupPC';|" /var/lib/BackupPC/etc/config.pl
294 + sed -i "s|$Conf{CgiURL} = 'http://localhost/.*|$Conf{CgiURL} = 'https://$SystemName.$DomainName/BackupPC';|" /etc/BackupPC/config.pl
295
296 # If par2 is not present, then put /bin/true in the config file to prevent an error
297 if [ ! -x /usr/local/bin/par2 ]; then
298 - sed -i 's|^$Conf{ParPath} .*|$Conf{ParPath} = "/bin/true";|' /var/lib/BackupPC/etc/config.pl
299 + sed -i 's|^$Conf{ParPath} .*|$Conf{ParPath} = "/bin/true";|' /etc/BackupPC/config.pl
300 fi
301 fi
302
303
304
305 # Same for localhost.pl, the default config in previous release
306 -if [ -e /var/lib/BackupPC/etc/pc/localhost.pl ]; then
307 - sed -i "s|$Conf{DumpPreUserCmd} = '/usr/bin/sudo /usr/local/BackupPC/bin/BackupPC_SME_pre-backup';|$Conf{DumpPreUserCmd} = '/usr/bin/sudo /usr/share/BackupPC/bin/BackupPC_SME_pre-backup';|" /var/lib/BackupPC/etc/pc/localhost.pl
308 +if [ -e /etc/BackupPC/pc/localhost.pl ]; then
309 + sed -i "s|$Conf{DumpPreUserCmd} = '/usr/bin/sudo /usr/local/BackupPC/bin/BackupPC_SME_pre-backup';|$Conf{DumpPreUserCmd} = '/usr/bin/sudo /usr/share/BackupPC/bin/BackupPC_SME_pre-backup';|" /etc/BackupPC/pc/localhost.pl
310 fi
311
312 # Add the example configs
313 EX=$(/sbin/e-smith/db configuration getprop backuppc examples)
314 if [ $EX == 'enabled' ]; then
315 - if [ $(grep -c windows-template /var/lib/BackupPC/etc/hosts) -lt 1 ]; then
316 - echo "windows-template 0 admin" >> /var/lib/BackupPC/etc/hosts
317 + if [ $(grep -c windows-template /etc/BackupPC/hosts) -lt 1 ]; then
318 + echo "windows-template 0 admin" >> /etc/BackupPC/hosts
319 fi
320 - if [ $(grep -c localserver-template /var/lib/BackupPC/etc/hosts) -lt 1 ]; then
321 - echo "localserver-template 0 admin" >> /var/lib/BackupPC/etc/hosts
322 + if [ $(grep -c localserver-template /etc/BackupPC/hosts) -lt 1 ]; then
323 + echo "localserver-template 0 admin" >> /etc/BackupPC/hosts
324 fi
325 - if [ $(grep -c smeserver-template /var/lib/BackupPC/etc/hosts) -lt 1 ]; then
326 - echo "smeserver-template 0 admin" >> /var/lib/BackupPC/etc/hosts
327 + if [ $(grep -c smeserver-template /etc/BackupPC/hosts) -lt 1 ]; then
328 + echo "smeserver-template 0 admin" >> /etc/BackupPC/hosts
329 fi
330 fi
331
332 # Ensure permissions are ok
333 -chown -R backuppc:backuppc /var/lib/BackupPC/etc
334 -chown -R backuppc:backuppc /var/lib/BackupPC/log
335 -find /var/lib/BackupPC/etc -type f -exec chmod 640 {} \;
336 +chown -R backuppc:backuppc /etc/BackupPC/
337 +chown -R backuppc:backuppc /var/log/BackupPC/
338 +find /etc/BackupPC -type f -exec chmod 640 {} \;
339
340 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/localArchive.conf mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/localArchive.conf
341 --- smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/localArchive.conf 2008-10-06 19:02:24.000000000 +0200
342 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/localArchive.conf 1970-01-01 01:00:00.000000000 +0100
343 @@ -1,23 +0,0 @@
344 -# Destination directory, where the archive will be created
345 -destination = /tmp/
346 -
347 -# Split size in MBytes. If different from 0, the archive will be cut at this size
348 -split = 0
349 -
350 -# Compression. Can be gzip, bzip2 or none
351 -compress = gzip
352 -
353 -# The backup number to archive, -1 means the last one
354 -backupNum = -1
355 -
356 -# The share to archive
357 -share = *
358 -
359 -# The amount of parity (using par2)
360 -parity = 0
361 -
362 -# The hosts to archive, separate them with a space eg: localhost server1 server2
363 -hosts = localhost
364 -
365 -# The user who will receive the log of the archive, you can set a email address out of the server if you want
366 -sendMailTo = admin
367 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/localCopyPool.conf mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/localCopyPool.conf
368 --- smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/localCopyPool.conf 2008-10-06 19:02:39.000000000 +0200
369 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/localCopyPool.conf 1970-01-01 01:00:00.000000000 +0100
370 @@ -1,17 +0,0 @@
371 -# Destination directory, where the pool will be copied
372 -destination = /tmp/
373 -
374 -# The source directory, the topdir of the data
375 -source = /var/lib/BackupPC
376 -
377 -# Compression used for the "pc" archive. Can be gzip, bzip2 or none
378 -compress = gzip
379 -
380 -# If you want to extract the "pc" archive on the destination, can be set to 'yes' or 'no'
381 -extract = yes
382 -
383 -# Stop BackupPC daemon. You should let this to 'yes' unless you use something like LVM snapshots
384 -stop = yes
385 -
386 -# The user who will receive the log of the archive, you can set a email address out of the server if you want
387 -sendMailTo = admin
388 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/localserver-template.pl mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/localserver-template.pl
389 --- smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/localserver-template.pl 2008-10-06 17:12:52.000000000 +0200
390 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/localserver-template.pl 1970-01-01 01:00:00.000000000 +0100
391 @@ -1,28 +0,0 @@
392 -$Conf{RsyncShareName} = [
393 - '/'
394 -];
395 -$Conf{BackupFilesExclude} = {
396 - '/' => [
397 - '/var/lib/BackupPC',
398 - '/proc',
399 - '/tmp',
400 - '/sys',
401 - '/dev',
402 - '/boot',
403 - '/mnt',
404 - '/media',
405 - '/selinux',
406 - '/aquota.*',
407 - '/lost+found',
408 - '/initrd',
409 - '/var/tmp',
410 - '/var/lib/mysql'
411 - ]
412 -};
413 -$Conf{DumpPreUserCmd} = '/usr/bin/sudo /usr/share/BackupPC/bin/BackupPC_SME_pre-backup';
414 -$Conf{XferMethod} = 'rsync';
415 -$Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList+';
416 -$Conf{RsyncClientRestoreCmd} = '/usr/bin/sudo $rsyncPath $argList+';
417 -$Conf{ClientNameAlias} = '127.0.0.1';
418 -$Conf{BackupsDisable} = 1;
419 -
420 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/smeserver-template.pl mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/smeserver-template.pl
421 --- smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/smeserver-template.pl 2008-10-06 15:06:49.000000000 +0200
422 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/smeserver-template.pl 1970-01-01 01:00:00.000000000 +0100
423 @@ -1,29 +0,0 @@
424 -$Conf{RsyncShareName} = [
425 - '/'
426 -];
427 -$Conf{BackupFilesExclude} = {
428 - '/' => [
429 - '/opt/backuppc/files/pc',
430 - '/opt/backuppc/files/pool',
431 - '/opt/backuppc/files/cpool',
432 - '/opt/backuppc/files/trash',
433 - '/opt/backuppc/files/lost+found',
434 - '/proc',
435 - '/tmp',
436 - '/sys',
437 - '/dev',
438 - '/boot',
439 - '/mnt',
440 - '/media',
441 - '/selinux',
442 - '/aquota.*',
443 - '/lost+found',
444 - '/initrd',
445 - '/var/tmp',
446 - '/var/lib/mysql'
447 - ]
448 -};
449 -$Conf{DumpPreUserCmd} = '$sshPath -l root $host "/usr/local/BackupPC/bin/BackupPC_SME_pre-backup"';
450 -$Conf{XferMethod} = 'rsync';
451 -$Conf{BackupsDisable} = 1;
452 -
453 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/windows-template.pl mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/windows-template.pl
454 --- smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/windows-template.pl 2008-10-06 15:06:50.000000000 +0200
455 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/pc/windows-template.pl 1970-01-01 01:00:00.000000000 +0100
456 @@ -1,38 +0,0 @@
457 -$Conf{ClientCharset} = 'cp1252';
458 -$Conf{RsyncShareName} = [
459 - 'cDrive'
460 -];
461 -$Conf{RsyncdPasswd} = 'secret';
462 -$Conf{RsyncdUserName} = 'backuppc';
463 -$Conf{XferMethod} = 'rsyncd';
464 -$Conf{BackupFilesExclude} = {
465 - '*' => [
466 - '*/hiberfil.sys',
467 - '*/pagefile.sys',
468 - '*/WUTemp',
469 - '*/RECYCLER',
470 - '*/UsrClass.dat',
471 - '*/UsrClass.dat.LOG',
472 - '*/NTUSER.DAT',
473 - '*/NTUSER.DAT.LOG',
474 - '*/Temporary?Internet?Files/*',
475 - '*/Documents?and?Settings/*/Recent',
476 - '*/Cache',
477 - '*/parent.lock',
478 - '*/Thumbs.db',
479 - '*/IconCache.db',
480 - '*/System?Volume?Information',
481 - '*/Temp/*',
482 - '*.tmp',
483 - '*.bak',
484 - '*/WINDOWS/system32/config/SYSTEM',
485 - '*/WINDOWS/system32/config/SOFTWARE',
486 - '*/WINDOWS/system32/config/SECURITY',
487 - '*/WINDOWS/system32/config/SECURITY.LOG',
488 - '*/WINDOWS/system32/config/SAM',
489 - '*/WINDOWS/system32/config/SAM.LOG',
490 - '*/WINDOWS/system32/config/DEFAULT',
491 - ]
492 -};
493 -$Conf{BackupsDisable} = 1;
494 -
495 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/remoteArchive.conf mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/remoteArchive.conf
496 --- smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/remoteArchive.conf 2008-10-06 15:06:50.000000000 +0200
497 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/remoteArchive.conf 1970-01-01 01:00:00.000000000 +0100
498 @@ -1,24 +0,0 @@
499 -# The host you to send archives to
500 -remoteHost = remote.host.com
501 -
502 -# The remote user to use for the ssh connection
503 -remoteUser = root
504 -
505 -# Destination directory, where the archive will be created
506 -remoteDir = /tmp/
507 -
508 -# Compression. Can be gzip, bzip2 or none
509 -compress = gzip
510 -
511 -# The backup number to archive, -1 means the last one
512 -backupNum = -1
513 -
514 -# The share to archive
515 -share = *
516 -
517 -# The hoststo archive, separate them with a space eg: localhost server1 server2
518 -hosts = localhost
519 -
520 -# The user who will receive the log of the archive, you can set a email address out of the server if you want
521 -sendMailTo = admin
522 -
523 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/remoteCopyPool.conf mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/remoteCopyPool.conf
524 --- smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/remoteCopyPool.conf 2008-10-06 19:03:10.000000000 +0200
525 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/remoteCopyPool.conf 1970-01-01 01:00:00.000000000 +0100
526 @@ -1,23 +0,0 @@
527 -# The host you to send the pool to
528 -remoteHost = remote.host.com
529 -
530 -# The remote user to use for the ssh connection
531 -remoteUser = root
532 -
533 -# Destination directory, where the archive will be created
534 -remoteDir = /tmp/
535 -
536 -# The source directory, the topdir of the data
537 -source = /var/lib/BackupPC
538 -
539 -# Compression used for the "pc" archive. Can be gzip, bzip2 or none
540 -compress = gzip
541 -
542 -# If you want to extract the "pc" archive on the destination, can be set to 'yes' or 'no'
543 -extract = yes
544 -
545 -# Stop BackupPC daemon. You should let this to 'yes' unless you use something like LVM snapshots
546 -stop = yes
547 -
548 -# The user who will receive the log of the archive, you can set a email address out of the server if you want
549 -sendMailTo = admin
550 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/usbArchive.conf mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/usbArchive.conf
551 --- smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/usbArchive.conf 2008-10-06 15:06:50.000000000 +0200
552 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/usbArchive.conf 1970-01-01 01:00:00.000000000 +0100
553 @@ -1,23 +0,0 @@
554 -# The device you want to use, where the archive will be created
555 -device = /dev/sdc1
556 -
557 -# Split size in MBytes. If different from 0, the archive will be cut at this size
558 -split = 0
559 -
560 -# Compression. Can be gzip, bzip2 or none
561 -compress = gzip
562 -
563 -# The backup number to archive, -1 means the last one
564 -backupNum = -1
565 -
566 -# The share to archive
567 -share = *
568 -
569 -# The amount of parity (using par2)
570 -parity = 0
571 -
572 -# The hoststo archive, separate them with a space eg: localhost server1 server2
573 -hosts = localhost
574 -
575 -# The user who will receive the log of the archive, you can set a email address out of the server if you want
576 -sendMailTo = admin
577 diff -Nur -x '*.orig' -x '*.rej' smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/usbCopyPool.conf mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/usbCopyPool.conf
578 --- smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/usbCopyPool.conf 2008-10-06 19:03:34.000000000 +0200
579 +++ mezzanine_patched_smeserver-BackupPC-0.1/root/var/lib/BackupPC/etc/usbCopyPool.conf 1970-01-01 01:00:00.000000000 +0100
580 @@ -1,18 +0,0 @@
581 -# The device you want to use, where the archive will be created
582 -device = /dev/sdc1
583 -
584 -# Compression to use for the "pc" archive. Can be gzip, bzip2 or none
585 -compress = gzip
586 -
587 -# The source directory, the topdir of the data
588 -source = /var/lib/BackupPC
589 -
590 -# If you want to extract the "pc" archive on the destination, can be set to 'yes' or 'no'
591 -extract = yes
592 -
593 -# Stop BackupPC daemon. You should let this to 'yes' unless you use something like LVM snapshots
594 -stop = yes
595 -
596 -# The user who will receive the log of the archive, you can set a email address out of the server if you want
597 -sendMailTo = admin
598 -

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed