This article is for Zmanda Recovery Manager For MySQL (ZRM)
CAUTION: Please note that canceling a restore job might leave the databases in an inconsistent state if you are restoring to original location.
Use this procedure only if the cancel button in the ZRM Restore Restore page does not work. Please follow these steps to stop a restore job as “root” user on the ZRM server:
pgrep -f "zmc_launcher" -l
pkill -9 "zmc_launcher"
pgrep -f "mysql-zrm-restore-wrapper" -l
pkill -9 "mysql-zrm-restore-wrapper"
pgrep -f "mysql-zrm-restore" -l
pkill -9 "mysql-zrm-restore"
rm /etc/mysql-zrm/<backup set name>/.mysql-zrm.pid
If ZMC still reports that the restore job is still running or in cancelling state, do the following:
# /opt/zmanda/zrm/mysql/bin/mysql -uroot -pzmcdb-admin zmc -e "selectmax(task_id) from task_management where task_name='Restore' and
configuration_id =(SELECT configuration_id FROM configurations WHERE
configuration_name = '<backup-set>')";
# /opt/zmanda/zrm/mysql/bin/mysql -uroot -pzmcdb-admin zmc -e "UPDATE
task_management SET status='Cancelled',output='Cancelled forcefully' where
# pgrep -f "mysql-zrm" -l
# pkill -9 "mysql-zrm"
# /etc/init.d/xinet.d restart
Powered by BetterDocs