Skip to main content

Backups

Quantaprice backs up all your data automatically. In the console, under Settings → Backups, you can list the backups, take a new one and restore one.

Console only

Backups are taken and restored in the console, by people with settings:write. They are not part of the API: an API key cannot take or restore a backup, so a leaked key can never be used to replace your data with a backup.

Automatic backups​

A backup is taken every 10 minutes. Each backup is a consistent snapshot of all your data: articles, pricelists, prices, VAT, exchange rates, rounding, rules and settings. Backups start once there is data to back up.

Each backup is copied to durable cloud object storage shortly after it is taken.

Contact support if you need a different interval.

Retention policy​

Older backups are thinned out over time, to balance storage costs against how precisely you can restore:

AgeWhat is kept
0 - 4 hoursEvery backup (about one every 10 minutes)
4 - 24 hours1 backup per hour
1 - 7 days1 backup per day
1 - 4 weeks1 backup per week
1 - 6 months1 backup per month
Older than 6 monthsDeleted

A backup taken with Keep it always is never thinned out or deleted.

Taking a backup​

Choose Back up now, and give the backup a description, such as what you are about to change, so that you can find it later. Keep it always is on by default: the backup is then kept permanently, outside the retention policy above. Turn it off if the backup may be thinned out like the automatic ones.

Restoring a backup​

Choose a backup to restore, and confirm with Restore now.

  • All your data is replaced by the backup's contents, and changes made after the backup was taken are lost. If you may want them back, take a backup first.
  • The API serves no requests while the restore runs: every request, including reads and price queries, gets 503 Service Unavailable with Retry-After: 15. Integrations that retry on 503, as described in API conventions and errors, resume once the restore is done.
  • Change log positions from before the restore are no longer valid: a reader with such a cursor gets 410 and must resynchronise; see Change events.
  • Only one restore can run at a time. If a restore fails, the tenant stays unavailable until a restore succeeds: restore another backup, or contact support.

Best practices​

  • Before a large import or a pricing restructure, take a backup with Keep it always, so that you have a clean point to return to.
  • Plan restores for a quiet moment: the tenant serves no requests while a restore runs.