$ test_restore
Ce script va écraser votre base de données avec un backup
Voulez-vous continuer ? [o/N] o
SELECTED BACKUP 2022-08-15_04-00
1/10 STOPPING CONTAINERS
2/10 CHANGING ODOO FILES OWNERSHIP TO DO CLEANING WITHOUT SUDO ESCALATION
3/10 CHANGING DB FILES OWNERSHIP TO DO CLEANING WITHOUT SUDO ESCALATION
4/10 CLEANING OLD DATA
5/10 RESTORING EXTRA-ADDONS
6/10 RESTORING FILESTORE
7/10 CHANGING FILESTORE OWNERSHIP BACK SO ODOO CAN RUN PROPERLY
8/10 STARTING THE DATABASE
WAITING FOR THE DATABASE TO START
WAITING FOR THE DATABASE TO START
9/10 RESTORING DATABASE
pt_db RESTORED
10/10 RESTARTING ODOO
$
$ test_restore -s
Ce script va écraser votre base de données avec un backup
Voulez-vous continuer ? [o/N] o
1) 2022-08-15_04-00 3) 2022-08-13_04-00 5) cancel
2) 2022-08-14_04-00 4) 2022-08-12_12-29
#? 4
SELECTED BACKUP 2022-08-12_12-29
1/10 STOPPING CONTAINERS
2/10 CHANGING ODOO FILES OWNERSHIP TO DO CLEANING WITHOUT SUDO ESCALATION
3/10 CHANGING DB FILES OWNERSHIP TO DO CLEANING WITHOUT SUDO ESCALATION
4/10 CLEANING OLD DATA
5/10 RESTORING EXTRA-ADDONS
6/10 RESTORING FILESTORE
7/10 CHANGING FILESTORE OWNERSHIP BACK SO ODOO CAN RUN PROPERLY
8/10 STARTING THE DATABASE
WAITING FOR THE DATABASE TO START
WAITING FOR THE DATABASE TO START
9/10 RESTORING DATABASE
pt_db RESTORED
10/10 RESTARTING ODOO
$