[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] raqbackup.sh version 2.0
- Subject: Re: [cobalt-users] raqbackup.sh version 2.0
- From: Jeff Bilicki <jeff@xxxxxxxxxxx>
- Date: Mon Aug 20 02:22:49 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
[snip]
Nice script! You may or may not want to use this, but I thought I would post it
anyways.
With version 2.0 of CMU there is better third party integration. Check out the cmuConfig utility, here is a little quickie on how it works.
cmuConfig (lists currently installed configs)
cmuConfig -a add -n mysql -c /etc/cmu/mysql.xml
Will add the following lines into /etc/cmu/cmuConfig.xml:
<mysql>
<configFile value="/etc/cmu/mysql.xml"/>
</mysql>
cmuConfig -a del -n mysql
Deletes the previous three lines out of /etc/cmu/cmuConfig.xml.
Example of /etc/cmu/mysql.xml:
<mysql>
<libs>
<scanout value = "/root/testout.pl"/>
<scanin value = "/root/testin.pl"/>
</libs>
</mysql>
When the script is called the CMU destination/source directory is passed as an argument, for example: /root/testout.pl /home/cmu/my.fqdn.com. All scripts are called after the export/import is completed.
Jeff-