Skip to content

Clone an environment

A clone copies a deployed environment, its database and optionally its files, into a new environment on the same server.

  1. Open the environment, then More → Clone….
  2. Fill in:
    • Name of the copy: lowercase letters, digits and -, for example shop-staging.
    • Type: dev, staging or production.
    • Address name: the first part of the copy’s platform address. Empty: the copy’s name.
    • Include the filestore: also copy the attachments and other files Odoo keeps outside the database.
    • Neutralize the copy: on by default.
  3. Start the clone. It runs as a task; when it ends, the copy is deployed and answers at its own address.

A neutralized copy has its mail servers and scheduled jobs switched off, the way Odoo’s own neutralize does it, so a copy of production does not email your customers or run its jobs a second time. Switch it off only when the copy is meant to replace the original.

A clone stays on its server. To copy an environment to another server, back it up and restore the backup into A new environment on the other server.