Documentation

Build, deploy and host. Step by step.

Docs / Deploy

Back up and restore

Your app’s files and databases are copied off the server every day. Put them back with one click.

What is backed up

Every day we copy each app’s saved files (its /data folder, which is where WordPress keeps themes, plugins and uploads) and the PostgreSQL and MySQL databases connected to it. The copies are encrypted with a key of your own account and stored separately from the server your apps run on.

Your code isn’t in the backups, because it doesn’t need to be: it is rebuilt from GitHub, your uploaded files or the template on every deploy. Redis isn’t backed up either; it holds caches and queues, not data you would restore.

How long backups are kept

Starter keeps the last 7 days and Pro the last 14. The newest backup is always kept. Open the app and go to Backups to see the list, with the date, what each backup contains and its size.

Good to knowAn app that keeps no files and has no database has nothing to back up, so no backups appear for it. A plain static site or an API without a database is in that position: redeploying it brings it back.

Restore a backup

  1. Open the app and go to Backups.
  2. Click Restore next to the backup you want, read what will be replaced, and click Restore this backup.
  3. The app stops for a moment while its files and database are put back, then starts again. The page shows Restored when it is done.
You can undo a restoreBefore restoring, we back up the app as it is at that moment. It appears in the list as **Before a restore**: restore that one to undo.

If a restore can’t go ahead, for example because a database connected to the app isn’t running, nothing is changed and the page says why.

When you delete an app

Deleting an app removes its backups from the list straight away. The copies themselves are removed from storage after the same number of days your plan keeps backups.

Was this page helpful?Still stuck? Contact support