Backups are your last line of defence against data loss. CloudPanel uses backups to remote storage (the safest) plus database exports. In this guide from the Hyyat Host team we show how to set up automatic backups, export a database and restore.
This guide assumes you have a site in the panel — see creating a website on CloudPanel if needed.
Set up automatic backups to remote storage #
CloudPanel provides automatic backups to a remote destination (SFTP or S3) using restic, so your backups stay off the server itself.
- Open the admin area Enter the
Admin Areafrom the top of the panel. - Open the backups section Click
Backups. - Add a storage destination Add a remote destination (SFTP or S3) with its connection details.
- Set the schedule Set the backup schedule (e.g. daily) and how many backups to keep, then save.
Export a site database manually #
- Open the site page Click the site name then the
Databasestab. - Export the database Click
Exportnext to the database to download an SQL file as a backup.
Restore #
To restore from remote backups you use the restic tool from the command line to restore the chosen snapshot, and to restore a database import the SQL file from the Databases tab via Import.
Common issues and fixes #
- Connection to storage fails: check the SFTP/S3 details and permissions on the destination.
- Backups are large: reduce how many backups you keep or exclude unnecessary files.
- You want a quick backup before editing: export the database and copy the site folder manually before any big change.
Next step #
- Add a remote storage destination and schedule backups.
- Export your database as a quick backup when needed.
- See the VPS control panel comparison to learn each panel’s strengths.
And if you’d like us to set up scheduled remote backups for you, open a support ticket — we reply within 24 hours at most.
Frequently asked questions #
How do I set up automatic backups on CloudPanel?
From the Admin Area then Backups add a remote storage destination (SFTP or S3) and set the schedule and retention.
How do I export a database?
From the site page Databases tab click Export to download an SQL file.
Where are backups stored?
In a remote destination you set (SFTP or S3) via restic, which is safer than keeping them on the same server.