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.sqlNotes on MySQL internals, diagnostics, and production reliability.
shell>mysql --one-database required_db < /path/to/backup.sqlThis is a personal technical notebook. The views, analyses, and opinions expressed here are entirely my own and do not reflect the official policy or position of my current or former employers. Diagnostic queries and triage scripts are provided as-is—always test thoroughly before executing in production.
© 2026 Umesh Shastry • MySQL :: under_the_hood
Documenting production database diagnostics, MVCC concurrency, and storage engine internals.
Hi Umesh,
Good one.
Regards,
Moole
Hi Umesh,
Good One.
Regarrds,
Moole
Hi Umesh,
ReplyDeleteGood one.
Regards,
Moole
Hi Umesh,
ReplyDeleteGood One.
Regarrds,
Moole