Backups
Back up the wtree Cloud database and file system to S3 storage on a schedule, and restore them on the same or a new server.
A wtree Cloud backup captures the panel itself: its database and its configuration files. It is the way to recover or move a panel. Database and volume backups for your own services are separate, see Database backups and Volume backups.
Before you start
Add a storage destination under Backups › Storage. Backups are stored there.
What a backup contains
Each run does the following:
- Dumps the PostgreSQL database
w3panel-postgres. - Saves the file system at
/etc/w3panel. - Combines both into one compressed
.zipfile. - Uploads the file to your storage destination.
Create a backup
Go to Servers › This server › Settings and, in Backups, choose Create backup.
Select the storage destination.
Optionally set a schedule in cron syntax.
Restore a backup
Go to Servers › This server › Settings and, in Backups, choose Restore backup.
Select the storage destination that holds the backup.
Browse to the backup file and select it.
Review the summary of files to restore and confirm.
Restoring clears /etc/w3panel and replaces it with the backup, then drops the w3panel-postgres database, disconnects its users and restores it from the backup. Current panel data is lost.
After the restore you may need to sign in again. Restart Traefik if services don't pick up their configuration.
Restore on a different server
If the server IP changed:
- Update the IP in Servers › This server › Panel › Update server IP.
- Reconfigure Git providers that were set up with the old IP.
- Point your DNS records at the new IP.
- Recreate
traefik.medomains if you use them.
Git providers configured with domain names need no changes.
