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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
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