Community mailing list archives

Re: db management interface: duplicate vs restore as a copy

- 07/27/2015 03:27:25
Hello Alexandre

2015-07-27 8:48 GMT+02:00 Alexandre Fayolle <>:
> Yes I'm aware of the underlying commands.
> My question is about this line:
> which deals
> with something different than a postgresql ID of the db afaict: it is a odoo
> ir.config.parameter stored in 'database.uuid', which is used by edi,
> auth_oauth and mail.


When a database is connected to the outside you need two different functions :
- restore and replace the production database and re-establish connectivity
- make several copies of a database which won't interact for real with
the external world.

So far I implemented this by using different servers and I think Odoo
now tries to fix this problem implicitly by differentiating at
restoring level.

> The fact that duplicate database does not reset it looks suspicious to me.

it is. If my point is valid, I think the interface should explicitly
document functions so users know what they do.

I stay tuned to read if someone has a better story about this.

> Alexandre