Bỏ qua để đến nội dung
Restore a backup Restore a full site or just the database with realtime progress, and rebuild a Docker Compose stack from a backup.

Restore a backup

Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.

Restore brings a snapshot back to a server. You restore from /backups — open the Snapshots view (the fleet-wide restore list), pick a snapshot, and choose what to bring back.

When you restore a site snapshot you choose the scope:

  • Full — files and database together.
  • Database only — restore just the database, leaving the site’s files untouched.
  • Files only — restore just the web root.

The restore runs natively on the VPS via the agent, restoring from the restic snapshot in place.

Restores report realtime progress back to the dashboard as they run, so you can watch the operation complete instead of guessing. The snapshot’s status updates as the job moves through queued → running → completed (or failed, with a log snippet).

MZPanel can restore a whole Docker Compose stack — not just rehydrate a volume. A stack backup captures the compose definition, environment, and volumes, and takes DB-consistent logical dumps (pg_dumpall, mongodump, mariadb-dump) by running them inside the container rather than tarring a hot database volume.

Restoring a stack is a single restore point that rebuilds the stack:

  1. Recreate the stack from the captured compose definition and environment.
  2. Restore the non-database volumes and host bind mounts.
  3. Load the logical database dumps back into the stack’s database services.

Single Docker apps follow the same recreate-from-backup model. For Docker snapshots the restore drawer is Docker-aware: it hides the site scope picker and notes that the stack or app will be recreated.