auto_backup
auto_backup copied to clipboard
Allow auto_backup to restore from Staging from Production env.
Hi, we are using this module to restore Staging env with some shell script:
1. Install auto_backup on production server;
2. Schedule a daily backup;
3. Copy by ssh;
4. Restore with odoo shell
from odoo.service import db
from datetime import datetime
db.restore_db(datetime.strftime(datetime.now(), 'qa-%Y-%m-%d'), 'odoo.zip', copy=False)
I'ts gonna be nice if we have a feature to automate this by configuring the auto_backup at Staging server.