| 1 |
<?xml version="1.0"?> |
| 2 |
<cb_config> |
| 3 |
<reference> |
| 4 |
<author>Kenneth J. Pronovici</author> |
| 5 |
<revision>1.3</revision> |
| 6 |
<description>Sample</description> |
| 7 |
</reference> |
| 8 |
<extensions> |
| 9 |
<action> |
| 10 |
<name>sysinfo</name> |
| 11 |
<module>CedarBackup3.extend.sysinfo</module> |
| 12 |
<function>executeAction</function> |
| 13 |
<index>95</index> |
| 14 |
</action> |
| 15 |
<action> |
| 16 |
<name>mysql</name> |
| 17 |
<module>CedarBackup3.extend.mysql</module> |
| 18 |
<function>executeAction</function> |
| 19 |
<index>96</index> |
| 20 |
</action> |
| 21 |
<action> |
| 22 |
<name>postgresql</name> |
| 23 |
<module>CedarBackup3.extend.postgresql</module> |
| 24 |
<function>executeAction</function> |
| 25 |
<index>97</index> |
| 26 |
</action> |
| 27 |
<action> |
| 28 |
<name>subversion</name> |
| 29 |
<module>CedarBackup3.extend.subversion</module> |
| 30 |
<function>executeAction</function> |
| 31 |
<index>98</index> |
| 32 |
</action> |
| 33 |
<action> |
| 34 |
<name>mbox</name> |
| 35 |
<module>CedarBackup3.extend.mbox</module> |
| 36 |
<function>executeAction</function> |
| 37 |
<index>99</index> |
| 38 |
</action> |
| 39 |
<action> |
| 40 |
<name>encrypt</name> |
| 41 |
<module>CedarBackup3.extend.encrypt</module> |
| 42 |
<function>executeAction</function> |
| 43 |
<index>299</index> |
| 44 |
</action> |
| 45 |
</extensions> |
| 46 |
<options> |
| 47 |
<starting_day>tuesday</starting_day> |
| 48 |
<working_dir>/opt/backup/tmp</working_dir> |
| 49 |
<backup_user>backup</backup_user> |
| 50 |
<backup_group>group</backup_group> |
| 51 |
<rcp_command>/usr/bin/scp -B</rcp_command> |
| 52 |
<override> |
| 53 |
<command>cdrecord</command> |
| 54 |
<abs_path>/opt/local/bin/cdrecord</abs_path> |
| 55 |
</override> |
| 56 |
<override> |
| 57 |
<command>mkisofs</command> |
| 58 |
<abs_path>/opt/local/bin/mkisofs</abs_path> |
| 59 |
</override> |
| 60 |
<pre_action_hook> |
| 61 |
<action>collect</action> |
| 62 |
<command>echo "I AM A PRE-ACTION HOOK RELATED TO COLLECT"</command> |
| 63 |
</pre_action_hook> |
| 64 |
<post_action_hook> |
| 65 |
<action>collect</action> |
| 66 |
<command>echo "I AM A POST-ACTION HOOK RELATED TO COLLECT"</command> |
| 67 |
</post_action_hook> |
| 68 |
</options> |
| 69 |
<collect> |
| 70 |
<collect_dir>/opt/backup/collect</collect_dir> |
| 71 |
<collect_mode>daily</collect_mode> |
| 72 |
<archive_mode>targz</archive_mode> |
| 73 |
<ignore_file>.cbignore</ignore_file> |
| 74 |
<dir> |
| 75 |
<abs_path>/etc</abs_path> |
| 76 |
<collect_mode>incr</collect_mode> |
| 77 |
</dir> |
| 78 |
<file> |
| 79 |
<abs_path>/home/root/.profile</abs_path> |
| 80 |
<collect_mode>weekly</collect_mode> |
| 81 |
</file> |
| 82 |
</collect> |
| 83 |
<stage> |
| 84 |
<staging_dir>/opt/backup/stage</staging_dir> |
| 85 |
<peer> |
| 86 |
<name>debian</name> |
| 87 |
<type>local</type> |
| 88 |
<collect_dir>/opt/backup/collect</collect_dir> |
| 89 |
</peer> |
| 90 |
</stage> |
| 91 |
<store> |
| 92 |
<source_dir>/opt/backup/stage</source_dir> |
| 93 |
<media_type>cdrw-74</media_type> |
| 94 |
<device_type>cdwriter</device_type> |
| 95 |
<target_device>/dev/cdrw</target_device> |
| 96 |
<target_scsi_id>0,0,0</target_scsi_id> |
| 97 |
<drive_speed>4</drive_speed> |
| 98 |
<check_data>Y</check_data> |
| 99 |
<check_media>N</check_media> |
| 100 |
<blank_behavior> |
| 101 |
<mode>weekly</mode> |
| 102 |
<factor>5.1</factor> |
| 103 |
</blank_behavior> |
| 104 |
</store> |
| 105 |
<purge> |
| 106 |
<dir> |
| 107 |
<abs_path>/opt/backup/stage</abs_path> |
| 108 |
<retain_days>7</retain_days> |
| 109 |
</dir> |
| 110 |
<dir> |
| 111 |
<abs_path>/opt/backup/collect</abs_path> |
| 112 |
<retain_days>0</retain_days> |
| 113 |
</dir> |
| 114 |
</purge> |
| 115 |
<mysql> |
| 116 |
<user>mlogin</user> |
| 117 |
<compress_mode>bzip2</compress_mode> |
| 118 |
<all>Y</all> |
| 119 |
</mysql> |
| 120 |
<postgresql> |
| 121 |
<user>plogin</user> |
| 122 |
<compress_mode>bzip2</compress_mode> |
| 123 |
<all>N</all> |
| 124 |
<database>db1</database> |
| 125 |
<database>db2</database> |
| 126 |
</postgresql> |
| 127 |
<subversion> |
| 128 |
<collect_mode>incr</collect_mode> |
| 129 |
<compress_mode>bzip2</compress_mode> |
| 130 |
<repository> |
| 131 |
<type>FSFS</type> |
| 132 |
<abs_path>/opt/svn/repo1</abs_path> |
| 133 |
</repository> |
| 134 |
<repository> |
| 135 |
<type>BDB</type> |
| 136 |
<abs_path>/opt/svn/repo2</abs_path> |
| 137 |
</repository> |
| 138 |
</subversion> |
| 139 |
<mbox> |
| 140 |
<collect_mode>incr</collect_mode> |
| 141 |
<compress_mode>bzip2</compress_mode> |
| 142 |
<file> |
| 143 |
<abs_path>/home/user1/mail/greylist</abs_path> |
| 144 |
<collect_mode>daily</collect_mode> |
| 145 |
</file> |
| 146 |
<dir> |
| 147 |
<abs_path>/home/user2/mail</abs_path> |
| 148 |
<compress_mode>gzip</compress_mode> |
| 149 |
</dir> |
| 150 |
</mbox> |
| 151 |
<encrypt> |
| 152 |
<encrypt_mode>gpg</encrypt_mode> |
| 153 |
<encrypt_target>Backup User</encrypt_target> |
| 154 |
</encrypt> |
| 155 |
</cb_config> |