Community mailing list archives

community@mail.odoo.com

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

by
Camptocamp France SAS, Alexandre Fayolle - Camptocamp
- 07/27/2015 02:39:06
Hello Ermin,

Even restore fails if the database exists (with an unhelpful message,
see https://github.com/odoo/odoo/issues/7751).

But my question is about the difference between 'Copy of an existing
database' restore and 'Duplicate database', the latter lacking the reset
database.uuid operation.

Alexandre

On 26/07/2015 17:42, Ermin Trevisan wrote:
> You can use "Copy of an existing database" when you want to restore a 
> dropped database or create a new database from an existing backup. You 
> can not restore by copying an existing database into an existing 
> database, in that case you need to use to restore.
>
> On 26.07.2015 15:16, Alexandre Fayolle wrote:
> > Hi all,
> >
> > I'm looking at the Database Management user interface, and puzzling 
> > over the mode field in the Restore dialog.
> >
> > When you use "copy of an existing database", the only difference I can 
> > see is that the dbuuid will be regenerated. Which raises two questions:
> >
> > 1. what is the dbuuid used for?
> > 2. why is a new dbuuid not generated when I use the Duplicate function 
> > of the Database Management interface?
> >
> > Thanks for you insights.
> >
> > -- 
> > Alexandre Fayolle
> > Chef de Projet
> > Tel : + 33 (0)4 58 48 20 30
> >
> > Camptocamp France SAS
> > Savoie Technolac, BP 352
> > 73377 Le Bourget du Lac Cedex
> > http://www.camptocamp.com
> >
> > _______________________________________________
> > Mailing-List: https://www.odoo.com/groups/community-59
> > Post to: mailto:community@mail.odoo.com
> > Unsubscribe: https://www.odoo.com/groups?unsubscribe
> >
>
> -- 
> twanda AG
> Ermin Trevisan
> Artherstrasse 19
> CH-6318 Walchwil
> T    +41 41 758 1515
> M    +41 79 208 7373
> E    trevi@twanda.com
> www.twanda.ch
> www.ipadweinkarte.twanda.ch
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>

-- 
Alexandre Fayolle
Chef de Projet
Tel : +33 4 58 48 20 30

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com