3

The Restore Database window states that:

This database might have been moved or copied.

In order to avoid conflicts between databases, Odoo needs to know if this database was moved or copied. If you don't know, answer "This database is a copy".

While it makes sense that there is a difference, it is not clear what exactly. In what case should one use copy and in what move?

Odoo version: 9.0c

ruuter
  • 143

1 Answers1

3

The following code can be found under "/odoo/odoo/service/db.py:286". As I see it, the only difference is that with a copy a new database uid is created and with a move the old uid remains.

 if copy:
     # if it's a copy of a database, force generation of a new dbuuid
     env['ir.config_parameter'].init(force=True)

--Mathias Markl

This has implications for licensing in the case of the Enterprise Edition - a license is assigned (linked) to a DBUUID (but can be re-linked).

--Ray Carnes

Jonathan
  • 1,782