Restore from backup
When: a customer lost files, a database, a mailbox, a DNS zone or a whole account. Customers can restore their own files and databases in cPanel > Backup; these are the root commands.
- Find the run:
flypanel backup list ACCOUNT(the account’s backups, newest first). Browse:flypanel backup ls ACCOUNT RUN [PATH]. - Restore:
- files:
flypanel backup restore files ACCOUNT RUN PATH... --wait(into a newrestored-…folder; add--overwriteto put them back in place); - a database:
flypanel backup restore db ACCOUNT RUN SCHEMA --wait(--into SCHEMAto restore beside it); - a mailbox:
flypanel backup restore mailbox ACCOUNT RUN ADDRESS --wait; - a zone:
flypanel backup restore zone ACCOUNT RUN ZONE --yes --wait; - a whole live account:
flypanel backup restore account ACCOUNT RUN --confirm ACCOUNT --wait(takes a safety backup first); - a removed account:
flypanel backup removedfor its uid, thenflypanel backup restore removed UID RUN --wait.
- files:
flypanel backup restores— the restore’s state.
It worked when: the restore is ok and the customer confirms. A failed whole-account restore leaves the account suspended on purpose: read the error, fix it, run again.
Escalate when: the destination is unreachable (flypanel backup dest test NAME fails) or no run has the data.