Tuesday, April 24, 2007

Pre-Installation - The Open Source Backup Wiki (Amanda, MySQL Backup)

Pre-Installation - The Open Source Backup Wiki (Amanda, MySQL Backup)

Pre-Installation Checks
Verify that the version(s) of MySQL server(s) that you deploy are version(s) supported by Zmanda Recovery Manager for MySQL.
ZRM for MySQL requires MySQL client commands listed below to be installed on the local server where ZRM for MySQL is running.
These commands are required even if ZRM for MySQL is backing up remote MySQL servers.
mysqladmin
mysqlhotcopy
mysqldump
mysqlbinlog
mysql
The MySQL client commands installed on the local machine should be compatible with the local MySQL server.
It is preferable to use the same version of MySQL on local and remote MySQL servers.
Check that MySQL client commands are installed in /usr/bin/ . If they are not, accordingly configure the client command location and binary log location in mysql-zrm.conf. See MySQL server parameters section for details.
Installation and configuration of Zmanda Recovery Manager for MySQL requires superuser access. All ZRM for MySQL commands are run as the superuser.
Two perl modules are necessary for MySQL ZRM installation
perl-DBI
perl-XML-Parser
These packages are available from CPAN repository or as part of the distribution. Following command can install perl DBI module: