File: cback3.conf.sample

package info (click to toggle)
cedar-backup3 3.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,172 kB
  • sloc: python: 69,622; sh: 594; makefile: 148
file content (155 lines) | stat: -rw-r--r-- 4,608 bytes parent folder | download | duplicates (6)
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
<?xml version="1.0"?>
<cb_config>
   <reference>
      <author>Kenneth J. Pronovici</author>
      <revision>1.3</revision>
      <description>Sample</description>
   </reference>
   <extensions>
      <action>
         <name>sysinfo</name>
         <module>CedarBackup3.extend.sysinfo</module>
         <function>executeAction</function>
         <index>95</index>
      </action>
      <action>
         <name>mysql</name>
         <module>CedarBackup3.extend.mysql</module>
         <function>executeAction</function>
         <index>96</index>
      </action>
      <action>
         <name>postgresql</name>
         <module>CedarBackup3.extend.postgresql</module>
         <function>executeAction</function>
         <index>97</index>
      </action>
      <action>
         <name>subversion</name>
         <module>CedarBackup3.extend.subversion</module>
         <function>executeAction</function>
         <index>98</index>
      </action>
      <action>
         <name>mbox</name>
         <module>CedarBackup3.extend.mbox</module>
         <function>executeAction</function>
         <index>99</index>
      </action>
      <action>
         <name>encrypt</name>
         <module>CedarBackup3.extend.encrypt</module>
         <function>executeAction</function>
         <index>299</index>
      </action>
   </extensions>
   <options>
      <starting_day>tuesday</starting_day>
      <working_dir>/opt/backup/tmp</working_dir>
      <backup_user>backup</backup_user>
      <backup_group>group</backup_group>
      <rcp_command>/usr/bin/scp -B</rcp_command>
      <override>
         <command>cdrecord</command>
         <abs_path>/opt/local/bin/cdrecord</abs_path>
      </override>
      <override>
         <command>mkisofs</command>
         <abs_path>/opt/local/bin/mkisofs</abs_path>
      </override>
      <pre_action_hook>
         <action>collect</action>
         <command>echo "I AM A PRE-ACTION HOOK RELATED TO COLLECT"</command>
      </pre_action_hook>
      <post_action_hook>
         <action>collect</action>
         <command>echo "I AM A POST-ACTION HOOK RELATED TO COLLECT"</command>
      </post_action_hook>
   </options>
   <collect>
      <collect_dir>/opt/backup/collect</collect_dir>
      <collect_mode>daily</collect_mode>
      <archive_mode>targz</archive_mode>
      <ignore_file>.cbignore</ignore_file>
      <dir>
         <abs_path>/etc</abs_path>
         <collect_mode>incr</collect_mode>
      </dir>
      <file>
         <abs_path>/home/root/.profile</abs_path>
         <collect_mode>weekly</collect_mode>
      </file>
   </collect>
   <stage>
      <staging_dir>/opt/backup/stage</staging_dir>
      <peer>
         <name>debian</name>
         <type>local</type>
         <collect_dir>/opt/backup/collect</collect_dir>
      </peer>
   </stage>
   <store>
      <source_dir>/opt/backup/stage</source_dir>
      <media_type>cdrw-74</media_type>
      <device_type>cdwriter</device_type>
      <target_device>/dev/cdrw</target_device>
      <target_scsi_id>0,0,0</target_scsi_id>
      <drive_speed>4</drive_speed>
      <check_data>Y</check_data>
      <check_media>N</check_media>
      <blank_behavior>
         <mode>weekly</mode>
         <factor>5.1</factor>
      </blank_behavior>
   </store>
   <purge>
      <dir>
         <abs_path>/opt/backup/stage</abs_path>
         <retain_days>7</retain_days>
      </dir>
      <dir>
         <abs_path>/opt/backup/collect</abs_path>
         <retain_days>0</retain_days>
      </dir>
   </purge>
   <mysql>
      <user>mlogin</user>
      <compress_mode>bzip2</compress_mode>
      <all>Y</all>
   </mysql>
   <postgresql>
      <user>plogin</user>
      <compress_mode>bzip2</compress_mode>
      <all>N</all>
      <database>db1</database>
      <database>db2</database>
   </postgresql>
   <subversion>
      <collect_mode>incr</collect_mode>
      <compress_mode>bzip2</compress_mode>
      <repository>
         <type>FSFS</type>
         <abs_path>/opt/svn/repo1</abs_path>
      </repository>
      <repository>
         <type>BDB</type>
         <abs_path>/opt/svn/repo2</abs_path>
      </repository>
   </subversion>
   <mbox>
      <collect_mode>incr</collect_mode>
      <compress_mode>bzip2</compress_mode>
      <file>
         <abs_path>/home/user1/mail/greylist</abs_path>
         <collect_mode>daily</collect_mode>
      </file>
      <dir>
         <abs_path>/home/user2/mail</abs_path>
         <compress_mode>gzip</compress_mode>
      </dir>
   </mbox>
   <encrypt>
      <encrypt_mode>gpg</encrypt_mode>
      <encrypt_target>Backup User</encrypt_target>
   </encrypt>
</cb_config>