Posts

Showing posts from January, 2021

Odoo Database Backup & Restore

Image
  Steps: Go to the Manager Link Set Master Password Backup the database Restore the database Delete the old database Go to following URL http://localhost:8069/web/database/manager   Click on "SET MASTER PASSWORD" Set the master password for first time.   Backup the databae:   Restore: Click on restore to give new name to database and add backup file that you download when you click on Backup   If you get any error related to Command pg_dump not found Add following line in the odoo.config file pg_path = C:\Program Files\PostgreSQL\10\bin   # this is the postgre bin path   Using Command Line Through command line some time create CSS error when you log in to Odoo (mostly do not use this) To Backup the Database: login the Linux open terminal by pressing "Ctrl+Alt+t" Run the following commands in terminal >> sudo su - odoo -s /bin/bash                        ...