MySQL Forums
Forum List  »  Backup

Re: mysqlbackup backup one of databases and restore issue
Posted by: Ben Stillman
Date: July 02, 2013 12:41PM

--include=database.* backs up the ibd and frm files for the specified database, but also the frm files for all the other databases (along with other files). So doing a copy-back restores all of the folders from the backup. MySQL docs say to delete the frm files from the backup for tables you don't want to restore before running the restore. Hypothetically you could manually restore the frm and ibd files for the specified database by copying them out of the backup datadir. This would require you to lock all of the tables in that database.

http://dev.mysql.com/doc/mysql-enterprise-backup/3.8/en/backup-partial-options.html

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: mysqlbackup backup one of databases and restore issue
1166
July 02, 2013 12:41PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.