# How do backups and restores work for my Marketplace app?

> Daily backups kept 7 days, your own backups, and one-click restore with undo for Phluit Marketplace apps and databases. What's backed up and where it's stored.

Source: https://docs.phluit.com/products/marketplace/marketplace-backups/

## What's backed up

-   **Every day**, automatically. Daily backups are **kept 7 days**.
-   **Your own backups**, when you click **Back up now**. The last 5 are kept.
-   **Automatically before every restore** and before the app is deleted.

For an app, a backup holds all of the app's data. For PostgreSQL, MySQL and MariaDB, it's a full dump of the defaultdb database. Backups are stored in a separate location from the server.

## Back up now

1.  Open your app's page and the **Backups** tab.
2.  Click **Back up now**.

It usually takes under a minute. A new app's first daily backup runs the first night.

## Restore a backup

1.  On the **Backups** tab, click **Restore** next to the backup you want.
2.  Confirm.

Everything changed since that backup is replaced. **We back up the current state first**, so you can undo the restore by restoring that backup. A restore takes a few minutes; the page shows the progress.

## Good to know

-   You can take up to 6 backups and do up to 5 restores a day. If you go over, the page tells you how long to wait.
-   Only one task runs at a time on an app. Wait until a backup or restore has finished before you start the next one.
-   The **Activity** tab lists every backup and restore.
-   For a database, you can also create more databases on your server, but only defaultdb is backed up. See [How do I connect to my Marketplace database?](/products/marketplace/connect-to-a-marketplace-database/)
