-
Notifications
You must be signed in to change notification settings - Fork 4
Installation
notxarb edited this page Sep 14, 2010
·
2 revisions
- Perl
- Perl Modules:
- DBI
- DBD::mysql
- config::IniFiles
- Access to database server(s):
- User name
- Password
- Server address
- Database name
- Tables to clone (optional)
- Access to folders:
- /etc/
- /usr/local/sbin/
- A temporary folder that is accessible to both server (if cloning across the network) or just a temporary folder
The Perl modules can often be found through a package manager, like yum or apt-get. If not, they can be installed from CPAN.
- mysql-quick-clone.conf
- mysql-quick-clone.pl
- mysql-quick-clone.conf.8
- mysql-quick-clone.pl.8
After downloading the project, copy the files to the following locations:
mysql-quick-clone.conf → /etc/
mysql-quick-clone.pl → /usr/local/sbin/
mysql-quick-clone.conf.8 → /usr/local/share/man/man8/
mysql-quick-clone.pl.8 → /usr/local/share/man/man8/
The man pages should be accessible by running:
- man mysql-quick-clone.pl
- man mysql-quick-clone.conf
The main program should run with the following command:
/usr/local/sbin/mysql-quick-clone.pl
and it should return:
“Please input all required arguments”