Skip to Content
Menu
This question has been flagged
1 Reply
9659 Views

While Restoring Database,

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".

What is the exact difference, what will happen when choose copy and move?

Avatar
Discard
Best Answer

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)
Avatar
Discard

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).

Related Posts Replies Views Activity
2
Oct 23
6219
2
Nov 22
6637
1
May 22
3869
1
Apr 22
5379
0
Sep 21
2761