Skip to main content

Troubleshooting — Backups

The destination is in error​

Cause: the bucket or its user can no longer be read (deleted, or credentials revoked), or a deletion of the destination did not complete.

Solution:

  1. Read the destination's message in the Destinations tab.
  2. Check in S3 Buckets that the bucket and the user still exist.
  3. If a deletion did not complete, the message says what could not be released: delete the destination again.
  4. If the problem persists, contact support with the name of the destination.

The destination stays in Provisioning​

Cause: the setup is not finished.

Solution: wait a few moments, the list updates on its own. If the state does not move to Ready after a few minutes, contact support.


The retention is refused​

Cause: the value is not a whole number of days between 1 and 3,650, or it is shorter than the lock of a WORM bucket.

Solution: on a WORM bucket, enter at least 365 days; the console shows the exact minimum.


The schedule is refused​

CauseSolution
The cron expression does not have five fields, or uses @every, CRON_TZ= or TZ=Use a five-field expression in UTC, or a preset.
The time pattern triggers more than once an hourSpace runs at least one hour apart.
No destination ready in this project.Create a destination, or wait for it to be Ready.
The destination is being deletedChoose another destination.
A PostgreSQL database is already backed up to another destinationUse the same destination as its existing schedules.
The plan name already exists, or does not follow the rulesChoose another name: lowercase letters, digits and hyphens, at most 40 characters.

The schedule is in error​

Cause: the time pattern is no longer valid, or the resource or the destination has been deleted. The schedule's message says which.

Solution: delete the schedule and create a new one with a Ready destination.


A backup fails​

Solution:

  1. Open Backups > Activity and read the run's Message.
  2. Check that the destination is Ready and that the bucket user still has access to the bucket.
  3. Check that there is space left in the bucket and in the project's object storage quota.
  4. Run it again with Back up now.
  5. If the failure repeats, contact support with the name of the run.

The first backup of a PostgreSQL database fails​

Cause: on its very first backup, and on the first one after an in-place restore, the database is reconfigured to archive its logs and restarts briefly. This backup may fail.

Solution: run the backup again with Back up now; the following ones succeed.


An on-demand backup is refused​

CauseSolution
A restore of the resource is in progressWait for the restore to finish.
The PostgreSQL database is not ready yet after a failed restoreWait for the database to be ready, or restore it again: that is what brings it back.
The destination is not Ready, or is being deletedChoose another destination.
A PostgreSQL database is already backed up to another destinationChoose the destination of its schedules.

An archive is not restorable​

See Find out whether an archive is restorable.


A restore is refused​

CauseSolution
A restore of this resource is already in progressWait for it to finish.
The original database no longer existsChoose another database as the target.
The VM or the disk has been recreated under the same name since the backup (or one of the VM's disks has)Delete the recreated resource, then restore: the restore recreates it from the archive.
Disk backed up on its own, restored onto itself while it existsRestore an archive of the VM the disk is attached to.
Different PostgreSQL major versionsRestore to a PostgreSQL database of the same major version as the backed-up database.
No transaction after this pointRestore the most recent state: the result is the same.
Point outside the restore windowChoose a point within the bounds shown.
The restore would start from another branch of the historyChoose an earlier point, or an archive on the branch you want.
What the restore would give back cannot be guaranteedTry again later.
Log archiving is not working on the databaseRestore the state of the backup, without a point in time.

The VM restore does not finish​

Cause: a transfer is stuck. A VM restore does not stop on its own.

Solution: cancel it with Cancel restore (see Cancel a backup or a restore), then run a restore again. If the VM remains stopped, this new restore is what brings it back.


The VM restore failed and names a disk​

Cause: a disk of the archive was not rewritten. The message says what this disk contains.

Solution: run the restore again. The disks set aside have been kept under the name <disk>-orig-<identifier>: delete them from Disks once the restore has succeeded.


-orig- disks appear in the list of disks​

Cause: a VM restore with Keep them, or a restore that failed or was cancelled, kept the old content of the disks.

Solution: these disks are billed like all others. Recover what is useful to you from them, then delete them from Disks. The Restores section shows which restore created them.


An archive cannot be deleted​

CauseSolution
"…" is locked (WORM destination)Wait for the lock end date shown.
A restore is reading this archiveWait for the restore to finish.

The destination cannot be deleted​

Cause: This destination is still used by a plan, a run or a restore.

Solution: delete the schedules that use it, and wait for ongoing backups and restores to finish.


Refusal codes​

Every refusal from the backup service carries a six-digit code starting with 180. If you contact support, give it along with the message.

CodeMeaningWhat to do
180001Destination not foundCheck the destination name.
180002Schedule not foundCheck the schedule name.
180003Run not foundIt may have been deleted with its schedule or at the end of its retention.
180004Archive not foundIt may have been deleted, or removed at the end of its retention.
180005Restore not foundCheck the restore name.
180006A destination already has this nameChoose another name.
180007A schedule already has this nameChoose another name.
180008Conflict with a concurrent changeTry again.
180009Service temporarily unavailableTry again in a moment.
180010Setup failedTry again; contact support if the error persists.
180011Bucket not found in the projectChoose a bucket from the same project.
180012User not found on this bucketChoose a user of this bucket, or create one.
180013Resource not foundCheck that the database, VM or disk exists.
180014Destination deletion incompleteDelete it again.
180015Cancellation incompleteCancel again to finish.
180101Invalid destination nameLowercase letters, digits and hyphens, at most 40 characters.
180102Invalid schedule nameLowercase letters, digits and hyphens, at most 40 characters.
180103Retention out of rangeFrom 1 to 3,650 days.
180105Unreadable time pattern, interval or time zoneFive-field cron expression or @hourly, @daily, @weekly, @monthly, @yearly, in UTC.
180106Time pattern too frequentAt most one run per hour.
180107Resource type not coveredOnly PostgreSQL, MariaDB, VMs and disks can be backed up.
180109Confirmation missingConfirm the destructive operation.
180200Destination not readyWait for it to be Ready.
180201Destination still in useFirst delete its schedules; wait for ongoing operations to finish.
180204Archive not restorableThe message gives the reason.
180205Restore in progress on this resourceWait for it to finish.
180206The target is not of the same type as the archiveChoose a database of the same type.
180207Point in time or most recent state requested outside PostgreSQLReserved for PostgreSQL.
180208Restore to another resource not possible for a VM or a diskRestore onto the original resource.
180209Destination being deletedChoose another destination.
180210Archive being read by a restoreWait for the restore to finish.
180211The original resource no longer existsChoose another database as the target.
180212PostgreSQL database already backed up to another destinationUse the same destination.
180213No original disk to keepKeep them only applies to a VM restored onto itself.
180214Point outside the restore windowChoose a point within the bounds shown.
180215Log archiving interruptedRestore the state of the backup.
180216Backup cannot be cancelledWait for it to finish.
180217Archive locked by a WORM bucketWait for the lock to end.
180218Retention shorter than the bucket lockAt least 365 days.
180219No transaction after the requested pointRestore the most recent state: it is the same.
180220The state of the archive cannot be checked right nowTry again later.
180221The restore would start from another branch of the historyChoose an earlier point or another archive.
180222The VM or one of its disks has been recreated since the backupFirst delete the recreated resource.
180223Restore cannot be cancelledWait for it to finish on its own.
180224Different PostgreSQL major versionsRestore to a database of the same major version.
180225A disk is not restored over itselfRestore an archive of the VM it is attached to.
180226PostgreSQL database not ready yet after a restoreWait for it to be ready, or restore it again.
180227Nothing to cancel yetCancel again in a few seconds.