The Odoo database management interface offers tools to create, duplicate, delete, backup, and restore a database. The database management interface is protected by a master password. This password is required to create, delete, dump or restore databases.
Let’s check how to access the Odoo database management interface.
Go to the login screen of Odoo. If you are authenticated just log out and at the bottom of the login screen you can find ‘Manage database’.
Upon clicking the manage database, it redirects to another page where you can create, delete, backup, duplicate, restore and set a master password.
Set a Master Password
Master password in Odoo is used for various database operations like create, delete, backup, restore, etc. The master password can be set by clicking ‘Set Master Password’. If you want to change the master password, enter the old password at ‘master password’ and at the ‘new master password’ field sets a new password.
How to create a new Odoo database
So click on the ‘Duplicate’ option for the desired database to create a duplicate copy of that particular database. Here also enter the master password. By default, the database name of duplicated one is there and a new name is added, in which the duplicated file will be saved in the new name in order to avoid conflicts in the name. Then click ‘continue’.
How to Restore Databases
If one wants to restore the database for which you have completed the backup process, you can use the ‘Restore Database’ option.
If you handling a case as above first enter the master password and then select the zip file you have in your back up. Also, provide the database name.
How to delete a database
One can delete the database by clicking the delete option corresponding to the database you want to drop/delete. Suppose once the test runs on a duplicated database is over, one might delete that database. In such situations delete database options can be used.
Enter master data and the database you want to delete is already there. Now click on Delete.
This is how an Odoo database can be managed in version 13.