器量大者,福泽必厚
全部博文(587)
分类:
2010-02-03 15:51:23
[root@localhost mysql-zrm]# mysql-zrm --action restore --backup-set DailyBackuDB1 --source-directory /opt/backup/mysql/DailyBackupDB1/20100203144022/
restore:INFO: ZRM for MySQL Community Edition - version 2.0
DailyBackuDB1:restore:INFO: Restored database(s) from logical backup: qinghe
DailyBackuDB1:restore:ERROR: could not delete /opt/backup/mysql/DailyBackupDB1/20100203144022
DailyBackuDB1:restore:ERROR: Restore failed
是因为多出了此红色斜线:
如下即是正确的:
[root@localhost mysql-zrm]# mysql-zrm --action restore --backup-set DailyBackuDB1 --source-directory /opt/backup/mysql/DailyBackupDB1/20100
203144022
restore:INFO: ZRM for MySQL Community Edition - version 2.0
DailyBackuDB1:restore:INFO: Restored database(s) from logical backup: qinghe
DailyBackuDB1:restore:INFO: Restore done in 0 seconds.