File: cback.conf.1

package info (click to toggle)
cedar-backup2 2.20.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 20,636 kB
  • ctags: 34,592
  • sloc: python: 63,703; xml: 9,041; makefile: 100; sh: 9
file content (70 lines) | stat: -rw-r--r-- 2,052 bytes parent folder | download | duplicates (12)
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
<?xml version="1.0"?>
<!-- Sample from Cedar Backup v1.x, which must still be valid. -->
<cb_config>
   <reference>
      <author>$Author: pronovic $</author>
      <revision>1.3</revision>
      <description>Sample configuration</description>
   </reference>
   <options>
      <starting_day>tuesday</starting_day>
      <working_dir>/opt/backup/tmp</working_dir>
      <backup_user>backup</backup_user>
      <backup_group>backup</backup_group>
      <rcp_command>/usr/bin/scp -1 -B</rcp_command>
   </options>
   <collect>
      <collect_dir>/opt/backup/collect</collect_dir>
      <archive_mode>targz</archive_mode>
      <ignore_file>.cbignore</ignore_file>
      <dir>
         <abs_path>/etc</abs_path>
         <mode>daily</mode>
      </dir>
      <dir>
         <abs_path>/var/log</abs_path>
         <mode>incr</mode>
      </dir>
      <dir>
         <abs_path>/opt</abs_path>
         <mode>weekly</mode>
         <exclude>
            <abs_path>/opt/large</abs_path>
            <abs_path>/opt/backup</abs_path>
            <abs_path>/opt/tmp</abs_path>
         </exclude>
      </dir>
   </collect>
   <stage>
      <staging_dir>/opt/backup/staging</staging_dir>
      <peer>
         <name>machine1</name>
         <type>local</type>
         <collect_dir>/opt/backup/collect</collect_dir>
      </peer>
      <peer>
         <name>machine2</name>
         <type>remote</type>
         <backup_user>backup</backup_user>
         <collect_dir>/opt/backup/collect</collect_dir>
      </peer>
   </stage>
   <store>
      <source_dir>/opt/backup/staging</source_dir>
      <target_device>/dev/cdrw</target_device>
      <target_scsi_id>0,0,0</target_scsi_id>
      <drive_speed>4</drive_speed>
      <media_type>cdrw-74</media_type>
      <check_data>Y</check_data>
   </store>
   <purge>
      <dir>
         <abs_path>/opt/backup/stage</abs_path>
         <retain_days>5</retain_days>
      </dir>
      <dir>
         <abs_path>/opt/backup/collect</abs_path>
         <retain_days>0</retain_days>
      </dir>
   </purge>
</cb_config>