Not the answer you need?
Register and ask your own question!

Backup and Restore : one database

saidassoumanisaidassoumani ContributorInactive User Role Beginner
Hi everyone ,

I want to backup one database and restore it .
Here is my cmd for backup : innobackupex --user=root --password=*** --databases=myDB /data/backup/mysql/
But when I want to restore : innobackupex --ibbackup=xtrabackup --copy-back /data/backup/mysql/
there is this error : /var/lib/mysql Original data directory is not empty!

No way to restore only one database ?

Comments

Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.