我正在使用 MYSQL 企业备份恢复 MYSQL 数据库。目录创建成功,但恢复命令不起作用。以下是我尝试过的命令:
C:\Program Files\MySQL\MySQL Enterprise Backup 3.7>mysqlbackup --defaults-file="D:\DB_backup1\mysql_backup\2012-06-13_15-38-56\backup-my.cnf"
--datadir=C:\Program Files\MySQL\MySQL Server 5.5\data\mysql --backup-dir=D:\DB_backup1\mysql_backup\2012-06-13_15-38-56 copy-back
MySQL Enterprise Backup version 3.7.1 [Tue 03/20/2012 ]
Copyright (c) 2003, 2012, Oracle and/or its affiliates. All Rights Reserved.
INFO: Starting with following command line ...
mysqlbackup
--defaults-file=D:\DB_backup1\mysql_backup\2012-06-13_15-38-56\backup-my.cnf
--datadir=C:\Program Files\MySQL\MySQL Server 5.5\data\mysql
--backup-dir=D:\DB_backup1\mysql_backup\2012-06-13_15-38-56 copy-back
Error: Found extraneous commands at the end.
Use --help option for usage description.
C:\Program Files\MySQL\MySQL Enterprise Backup 3.7>