Hi,
Iam using ZRM 2.2 to backup my remote databases.
Iam using the copy-plugin "ssh-copy.pl" to perform the remote backup copy.
The target server which is being backedup is acting as a slave server.

the backup schedule runs smooth.However, ZRM unable to copy the replication related files master.info,relay-log-info files to the backups.
the logs does not report any errors instead logs confirms that file copy is successful.
The "backup-data" file does not include any replication related files.it only has the actual .sql file.

the user privs are correctly configured for remote access.
Any idea why ZRM unable to report this..not sure if this is a known bug.!!!


Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: "/usr/bin"/mysql --user="zrm" --password="******" --

host="xx.xx.xx.xx" --port="3306" --socket="/var/lib/mysql/mysql.sock" -e "show slave status"
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: PHASE START: Stopping slave
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: Stoping slave using command
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: "/usr/bin"/mysqladmin --user="zrm" --password="*****" --

host="xx.xx.xx.xx" --port="3306" --socket="/var/lib/mysql/mysql.sock" stop-slave > /tmp/TZGrPchT8e
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: Output of command: 'mysqladmin' is {
Slave stopped
}
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: PHASE END: Stopping slave
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: PHASE START: Flushing logs
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: Flushing the logs
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: "/usr/bin"/mysqladmin --user="zrm" --password="******" --

host="xx.xx.xx.xx" --port="3306" --socket="/var/lib/mysql/mysql.sock" flush-logs
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: Getting master logname using command "/usr/bin"/mysql --

user="zrm" --password="******" --host="xx.xx.xx.xx" --port="3306" --socket="/var/lib/mysql/mysql.sock" -e "show

master status"
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: PHASE END: Flushing logs
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: PHASE START: Copying replication data
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: Backing up master.info
Thu Aug 04 01:20:02 2011: db_backups:backup:INFO: Backing up relay-log.info
Thu Aug 04 01:20:03 2011: db_backups:backup:INFO: replication=master.info relay-log.info
Thu Aug 04 01:20:03 2011: db_backups:backup:INFO: PHASE END: Copying replication data

Thu Aug 04 01:20:03 2011: db_backups:backup:INFO: PHASE START: Creating logical backup
Thu Aug 04 01:20:03 2011: db_backups:backup:INFO: Command used for logical backup is "/usr/bin"/mysqldump --opt

--extended-insert --create-options --default-character-set=utf8 --routines --master-data=2 --user="zrm" --

password="******" --host="xx.xx.xx.xx" --port="3306" --socket="/var/lib/mysql/mysql.sock" --databases db1 db3 db4 >

"/opt/backups/db/db_backups/20110804012002/backup.sql"
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: Logical backup done for the following database(s) db1 db2 db3 db4
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: logical-databases=db1 db2 db3 db4
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: PHASE END: Creating logical backup
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: PHASE START: Starting slave
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: Restarting slave using command
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: "/usr/bin"/mysqladmin --user="zrm" --password="******" --

host="xx.xx.xx.xx" --port="3306" --socket="/var/lib/mysql/mysql.sock" start-slave > /tmp/TZGrPchT8e

Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: Output of command: 'mysqladmin' is {
Slave started
}
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: PHASE END: Starting slave
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: PHASE START: Calculating backup size & checksums
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: next-binlog=mysql-bin.001943
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: last-backup=/opt/backups/db/db_backups/20110804004501
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: backup-size=10.32 GB
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: PHASE END: Calculating backup size & checksums
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: PHASE START: Compression/Encryption
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: Compressing backup
Thu Aug 04 01:26:25 2011: db_backups:backup:INFO: Command used is 'tar --same-owner -cpsC

"/opt/backups/db/db_backups/20110804012002" --exclude=backup-data --exclude=index --exclude=zrm_checksum

--exclude=backup-sql . 2>/tmp/ZWHCPhuut7 | "/usr/bin/gzip" 2>/tmp/OgM3T37pDA >

"/opt/backups/db/db_backups/20110804012002/backup-data" 2>/tmp/TZGrPchT8e'
Thu Aug 04 01:35:26 2011: db_backups:backup:INFO: compress=/usr/bin/gzip
Thu Aug 04 01:35:26 2011: db_backups:backup:INFO: backup-size-compressed=1.68 GB