How backups work
We back up the database of every backend once a day, and we keep each backup for 7 days. You do not turn anything on and there is nothing to pay for. The backend page has aBackups card. It lists your backups, newest first, with
the date and time of each one and its size. Press Download on a row and your
browser saves that backup as one file, named like
my-backend-backup-2026-11-26-0312.tar.gz. The time in the name is the time the
backup was taken, in UTC.
A backup appears in the list only after we have checked that it can be restored.
A backup that failed or did not pass the check is not listed.
Opening the page and downloading a backup do not wake a sleeping backend. The
list and the files come from our stored copies, not from your backend.
A backend that sleeps
A sleeping backend that has not been used since its last backup is left asleep, and its latest backup is always kept, even when that backup is older than 7 days. If the backend was used since its last backup, we start it briefly to take the backup. You are not billed for this, it does not count as use, and the backend goes back to sleep on schedule. A new backend showsNo backups yet for its first day. Its first backup appears
within 24 hours. If the card says your backups are late, contact support and we
will look into it.
What is in a backup
A backup is one compressed file. It holds your database as plain SQL, in parts you can read in any text editor:roles.sql: the database roles.schema.sql: your tables, functions, policies and the rest of your schema.data.sql: the rows of your tables.vault.sql: the rows of your Vault secrets, still encrypted.managed.sql: row level security, policies and triggers on theauthandstorageschemas, andpg_cronjobs.README.txt: the restore steps, the same as on this page.
vault.sql and managed.sql are the two parts we add so that nothing of yours is
left out.
Vault secrets stay encrypted when you restore them somewhere else. The key
that opens them is not in the file. If you restore a backup into your own
Postgres, your Vault secrets are restored as encrypted rows and you will need to
set them again. When we restore a backup for you, your Vault secrets come back
readable.
Restore a backup yourself
You can restore a downloaded backup into any Postgres that is Supabase compatible, for example a local Supabase or another Supabase project. You need thepsql command and the connection string of an empty database.
-
Unpack the file:
-
Create the extensions your database used, before anything else. They are not
part of
schema.sql. For example, if your backend used scheduled jobs: -
Restore the roles, the schema and the data in one transaction:
-
Restore the Vault rows and the managed objects:
ON_ERROR_STOP makes the restore stop at the first error, and
--single-transaction undoes everything if it does, so a failed restore leaves
your database as it was. Fix the error, then run the step again.
Ask us to restore
If you would rather not do it yourself, email contact@pivocloud.com with the name of your backend and the date of the backup you want. TheContact support link on
the Backups card opens an email with the backend name already in the subject. We
restore the backup and tell you when it is done, within 1 working day.
Deleting a backend
Deleting a backend removes its backups from theBackups card, and you can no
longer download them. The stored copies are deleted by us afterwards. If you want
to keep your data, download a backup first. The console does not have a delete
button yet, so a deletion today is done by contacting support.