auto_backup icon indicating copy to clipboard operation
auto_backup copied to clipboard

Allow auto_backup to restore from Staging from Production env.

Open mileo opened this issue 4 years ago • 0 comments

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.

mileo avatar Mar 11 '20 21:03 mileo