README for plugin: ssh-copy
------------------------------

This plugin uses ssh to transfer files between MySQL server and machine 
running ZRM for MySQL. 

The default plugin assumes ssh is installed on MySQL server and the machine 
running the MySQL ZRM. The copy plugin is run as super user on the
machine running MySQL ZRM and runs commands as super user ("root") on 
the MySQL server machine. The superuser ("root") must be listed
in .shosts file so that logins are permitted without request for
passwords.

HOWTO:

a) Enable ssh between the machine running ZRM for MySQL and the MySQL 
   server host.

b) Modify the mysql-zrm.conf file in the relevant backup-set directory
   (/etc/mysql-zrm/<backup set name>/mysql-zrm.conf) and add the 
   following line to it

   copy-plugin=/usr/share/mysql-zrm/plugins/ssh-copy.pl

c) If mysql client binaries are installed at a different location than 
   /usr/bin then specify remote-mysql-binpath in the above mentioned 
   mysql-zrm.conf file.

   For e.g.
   remote-mysql-binpath=/opt/lampp

d) If ssh is needed to be done through a different user than mysql then 
   specify ssh-user in the above mentioned mysql-zrm.conf file. 
   The user specified should be the user that mysqld runs as.

   For e.g.
   ssh-user=mysql
