Skip to content

Backup & restore

MyPanel backs up both databases and whole websites, stored locally at /var/lib/mypanel/backups/ or pushed to a remote S3-compatible store.

On a database detail page: Backup (mysqldump / pg_dump) · Restore from an existing backup · Download · Import a SQL file. See the databases guide.

Open a website → Backup tab → Create backup. MyPanel packs the source (.tar.gz) and optionally the site’s database. You can download it or restore from a backup.

Go to Databases → Backup tab → Auto backup, enable the schedule and pick a frequency (daily / weekly). MyPanel creates backups in the background on schedule and applies a retention policy (keep the N most recent, prune older ones). If a scheduled backup fails, MyPanel alerts via Telegram/Email (see Monitoring).

Go to Databases → Remote backup (S3), enter your S3 details (endpoint, bucket, access key, secret). Click Test connection before saving. When enabled, backups are pushed to S3 — safe even if the server fails. Supports multipart uploads for large files and an option to skip TLS verification for MinIO with a self-signed certificate.

In the Backup tab of a website/database, remote backups appear under “On S3/MinIO” — you can restore directly from remote (the panel downloads then restores) and delete them. The retention policy applies to both local and remote copies (old backups on S3 are pruned too).