Skip to content

Restore a backup

A backup can be restored into the environment it came from, into another deployed environment, or into a new environment on any of your servers.

  1. Find the backup: the environment’s Backups tab, or Backups → All backups.
  2. Open its actions and choose Restore….
  3. In Restore into, choose:
    • This environment (its own environment),
    • Another environment: only deployed environments can be restored into,
    • A new environment: give the Name of the new environment, its Type and the Server.
  4. Set the options:
    • Make a safety backup first: backs up the target before anything is replaced.
    • Include the filestore: restore the attachments and files too. A backup made without the filestore restores the database only.
    • Neutralize: switch mail servers and scheduled jobs off in the restored copy.
  5. Press Continue and read what the restore would do.
  6. Type RESTORE to confirm.

The restore runs as a task with a live log.

Everything is fetched from the storage and checked before anything is switched. The database is loaded next to the old one and takes its name only at the end, so a restore that fails halfway leaves the environment as it was.

On by default. A neutralized copy sends no email and runs no scheduled jobs. Switch it off only when the restored environment is the real production again.

Back it up, then restore the backup into A new environment and choose the other server. When the copy is checked, point your domain at it and delete the old environment.

A backup from Odoo.sh, from Odoo’s database manager or a plain PostgreSQL dump is brought in under Migrations.