> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sevalla.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Backups

> Manage automated and manual database backups.

The database **Backups** page shows the automatic daily backups and any manually created backups you've made of your database. You can also restore a backup, create a new manual backup, or delete a manual backup.

<Warning>
  To download a database backup, you'll need to either export your database via the command line or use a database tool like TablePlus.
</Warning>

Database backups are excluded when [calculating your total disk space](/databases/analytics) (i.e. storage).

## Automatic backups

Databases are automatically backed up daily, and each backup is **stored for 7 days**.

<Frame caption="Automatic daily database backups in Sevalla.">
  <img className="block dark:hidden" alt="Automatic daily database backups in Sevalla" src="https://mintcdn.com/sevalla/40BMwYMBrkEyfQ_W/images/automatic-backups-light.png?fit=max&auto=format&n=40BMwYMBrkEyfQ_W&q=85&s=d79faf0c319bd8f44d6f1c5840d6a977" width="2554" height="1152" data-path="images/automatic-backups-light.png" />

  <img className="hidden dark:block" alt="Automatic daily database backups in Sevalla" src="https://mintcdn.com/sevalla/40BMwYMBrkEyfQ_W/images/automatic-backups-dark.png?fit=max&auto=format&n=40BMwYMBrkEyfQ_W&q=85&s=73a026d80542a5810df375b66100b06a" width="2562" height="1166" data-path="images/automatic-backups-dark.png" />
</Frame>

## Manual backups

You can manually create a database backup at any time, up to 5 manual backups, which are **stored for 14 days**. If you need to make more than 5 manual backups in 14 days, you'll need to delete one of the manual backups to make room for a new one.

To create a manual backup, click **Create backup**, enter a note to identify your backup (required), and click **Create database backup**.

<Frame caption="Manual database backups in Sevalla.">
  <img className="block dark:hidden" alt="Manual database backups in Sevalla" src="https://mintcdn.com/sevalla/C-qCdL5Dtty3MHRR/images/manual-backups-light.png?fit=max&auto=format&n=C-qCdL5Dtty3MHRR&q=85&s=28983bc9bad18d8bccf5478c5403971c" width="2554" height="468" data-path="images/manual-backups-light.png" />

  <img className="hidden dark:block" alt="Manual database backups in Sevalla" src="https://mintcdn.com/sevalla/C-qCdL5Dtty3MHRR/images/manual-backups-dark.png?fit=max&auto=format&n=C-qCdL5Dtty3MHRR&q=85&s=99fc7b5e4d444108b8cb1e6d4467d7ee" width="2564" height="472" data-path="images/manual-backups-dark.png" />
</Frame>

## Restore a backup

You can restore automatic or manual backups in Sevalla to your current database or to another database.

<Warning>
  Restoring a database backup overwrites the target database content with the content from the backup. Your database credentials and external connection details will not change.
</Warning>

To restore a backup, click the ellipsis (three dots) next to the backup you want to restore, and click **Restore**.

Choose whether you want to restore the backup to the current database or a different database.

If you restore to a different database, your current database is untouched. The target database must:

* Belong to the same company
* Be the same database type
* Be located in the same data center

Click **Restore backup**.

<Frame caption="Restore a backup in Sevalla.">
  <img className="block dark:hidden" alt="Restore a backup in Sevalla" src="https://mintcdn.com/sevalla/Mpiu5ZUZESSiiKy-/images/db-restore-backup-light.png?fit=max&auto=format&n=Mpiu5ZUZESSiiKy-&q=85&s=c595beb70b4de6c6ec6483fa41073ff8" width="1178" height="976" data-path="images/db-restore-backup-light.png" />

  <img className="hidden dark:block" alt="Restore a backup in Sevalla" src="https://mintcdn.com/sevalla/Mpiu5ZUZESSiiKy-/images/db-restore-backup-dark.png?fit=max&auto=format&n=Mpiu5ZUZESSiiKy-&q=85&s=b56ffb06b4f9c67d77b61a30d21aa627" width="1180" height="974" data-path="images/db-restore-backup-dark.png" />
</Frame>

The restoration may take several minutes or more, depending on the size of your database.
