Backups, exports and restores
This page covers PostgreSQL databases. Everything on this page is on your database’s own page in the console and you can do all of it yourself. Read the restore section before you use it. A restore does not do what the word suggests, and it takes money from your wallet at the moment you ask for it rather than when it finishes.What you can do yourself
- Take a backup now.
Trigger backup, in theBackupssection. - See the backups you have.
View history, with the number of backups you have in brackets after it. It opens a sheet listing them under the columnsWhen,Status,Kind,Size,DurationandAction. - Restore one of them.
Restore, on the row of the backup you want. - Take an export now.
Export database, in theExportssection. - Download an export.
Download, on that export’s row once it is ready.
Trigger backup is for the
moment you want one before you do something risky, and it adds to the
scheduled ones rather than replacing them.
Two answers you can get instead of a backup starting:
What a restore actually does, and what it costs
A restore gives you a second database. It does not put your data back into the database you restored from.Restore opens a dialog titled Restore into a new database, and the dialog
says the same thing in its own words: This creates a new database from this backup. The source database stays untouched. You name the new database in
Name for the new database, and Confirm restore starts it.
Four things follow from that, and all four are worth reading before you click.
- The new database gets its own hostname, its own credentials and its own certificate. It is a different database, not a repaired copy of the old one.
- The database you restored from is untouched. It keeps running, keeps its connection string, and keeps its own backups.
- You are charged when you ask, not when it finishes. The monthly price of the plan your source database is on is taken from your wallet at the moment the restore is accepted. The dialog states the amount on its own line before you confirm.
- The new database then bills on its own cycle like any other database, so you are paying for two databases until you delete one of them.
Status reads as successful, or take a new backup and restore from
that one.
contact@pivocloud.com with the database’s name, and
the restore will work once it is linked.
contact@pivocloud.com.
contact@pivocloud.com.
Exports, and downloading one
An export is a compressed plain SQL dump of your database, produced when you ask for one and downloaded from the console. It is a file you keep. A backup lives on the platform and is what a restore reads; an export is yours to store wherever you like and to load into anything that speaks PostgreSQL.Export database starts one. The row underneath moves through four states
while it works: it is queued, then it is running, then it either finishes with
a Download button beside it or it does not finish and the row tells you why.
Only one export runs at a time for a database, and there is a wait between one
export and the next.
The file you get is named after the export’s own identifier with a .sql.gz
suffix, not after your database, so rename it if you are keeping several. The
console shows a SHA-256 checksum next to the export and the download carries
the same value in an X-Export-Sha256 response header, so you can prove the
file you have is the file the platform made:
How far back you can go
Two different things decide that, and reading them as one number is how people end up surprised. The plan your database is on decides whether you can go back to an arbitrary moment.Starterhas no point-in-time window at all. What Starter has is its backups, described below.Growthadvertises a window of 7 days.Businessadvertises a window of 14 days.
If one of our datacenters is lost
The window above protects you against something that went wrong inside a database that is otherwise healthy: a bad migration, a delete without a where clause, an application writing nonsense for an hour. That is the common case and the window is the right answer to it. Losing a whole datacenter is the other case. PivoCloud runs in two datacenters, and your databases come back in the other one.Growth and Business
databases are archived continuously to our other datacenter and come back from
that archive. On Starter, what we guarantee is the copy taken
off the platform every 24 hours, so a datacenter loss can cost a Starter
database at most those 24 hours. Continuous archiving to our other datacenter
is what Growth and Business add.
On every plan, that copy is also the outer limit: a datacenter loss never costs
you more than those 24 hours.
We simulated the loss of one of our datacenters on purpose, on a copy of our platform built the same way, and timed the recovery.
In our test of 7 November 2026, Growth and Business databases lost at most 5 minutes of data, and both test databases were back in our other datacenter within 90 minutes.
We run this test on a copy of our platform, never on your data.
Your databases come back by themselves. An app that ran in the affected
datacenter is not moved for you: deploy it again once its database is back.
If you want your own exposure shorter than that for a particular moment, take
your own export before you do anything risky and keep it somewhere else. That
is the one lever you hold yourself.
Restoring to a chosen moment
Growth and Business advertise a window you can be restored to any point
inside, and there is no control in the console for it today. To use it, email
contact@pivocloud.com with your database’s name and the exact moment you want
to go back to, and we will do the restore for you. Be as precise about the
moment as you can: the point of the window is that it is not limited to the
moments a backup happened to be taken.
The self-serve restore described above is a different thing. It restores a
backup, so it takes you to the moment that backup was taken, and it is
available on every plan.
The weekly restore drill
PivoCloud tests its own restores, and pivocloud.com shows the result. This section says what the test does, what a pass shows and does not show, and what each state of the line on pivocloud.com means.What the drill does
The drill restores a database archive into a separate copy and checks that it replays to a chosen point. Each datacenter does this every day for a database that PivoCloud owns. That database uses the same backup path as customer databases. The drill also runs every week for customer databases on the plans that archive continuously.What a pass shows, and what it does not
A pass shows that the archive can be replayed. It does not mean your own database was restored, and it does not test switching your app over. To keep your own copy, take an export yourself, as described above.What the line on pivocloud.com means
- Passed in both datacenters. The latest result in each datacenter passed. The date shown is the older of the two.
- Did not pass. At least one latest result failed and the team has been alerted. The date shown is the date of that failure, or the older failure when both failed. It is never the date of a pass.
- No line. The latest result is older than 10 days or could not be read. The page never shows an older pass in its place.
When a database, a backup or an export fails
When a database, a backup or an export does not complete, the console shows a red message. It says what did not complete, whether your data is safe, and what happens next. The sentences below are the ones the console shows, quoted exactly, one heading for each, so you can search this page for the sentence you see. A failed database is titledDatabase failed on its card and on its page. The
Contact support button on it opens an email already addressed to us, whose
subject names the database and carries the reference, for example
DBaaS database failed: orders (reference s-3f9a1c2e).
The reference
Some messages end with a reference such ass-3f9a1c2e. The letter says what
failed: s- is a database, b- is a backup and e- is an export. It is
followed by 8 letters and digits. A reference is shown only when the cause is on
PivoCloud’s side or could not be identified. When you can fix the cause
yourself, as with a suspended database below, there is no reference.
If you write to us, send the reference, the name of the database and roughly
when it happened. With those we find the exact failure without asking you
anything else. Write to contact@pivocloud.com, or use the Contact support
button on a failed database.
A backup did not complete
A backup was skipped to protect storage
A backup was interrupted by a platform recovery
A backup did not complete because the database was suspended
An export did not complete
Exports section. PivoCloud’s team is not told
automatically when an export fails, so if it fails again, write to us with the
reference.
An export was interrupted by a platform recovery
PivoCloud could not finish setting up your database
PivoCloud could not finish deleting a database
A database could not be started again
A restore did not complete
A restore was interrupted by a platform recovery
A database stopped working for a reason PivoCloud could not identify
Try again button
is offered only for this failure: it creates a new database with the same name
and plan, which is charged like any other database, so use it only if you want
a second one.