i want to take backup of odoo database using shell script please guide for the same. i am new here. please elaborate step by step.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Hi You can run below command in sh file to create backup-
pg_dump --no-owner dabase_name | gzip > /path for store backp file/backup_file.gz
above command you can put in .sh file and follow below link to create cron job in ubuntu-
Beware that this does not work if lit_db = False as this is a procedure trying to go through Odoo's interface.
Is there any option to automate backup to ftp location in odoo.sh v16 , is there any module available as well to do so. I tried yenthe backup module but its not working in odoo.sh v 16
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up