In order to restore a single database from the nightly backup you can use the --one-database or -o option when restoring
shell>mysql --one-database required_db < /path/to/backup.sql
It’s all about My(SQL) favorite tools, utilities, tips, tricks, code snippets, discoveries and best practices.
shell>mysql --one-database required_db < /path/to/backup.sql
2 comments:
Hi Umesh,
Good one.
Regards,
Moole
Hi Umesh,
Good One.
Regarrds,
Moole
Post a Comment