Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| clientsdoc:power_tools_restore [2022/08/15 12:10] – aziz | clientsdoc:power_tools_restore [2022/10/26 09:38] (current) – aziz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{tag> | ||
| + | |||
| + | ==== Restore from backup ==== | ||
| + | |||
| <cli> | <cli> | ||
| $ test_restore | $ test_restore | ||
| Line 4: | Line 8: | ||
| Voulez-vous continuer ? [o/N] o | Voulez-vous continuer ? [o/N] o | ||
| SELECTED BACKUP 2022-08-15_04-00 | 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 | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | <cli> | ||
| + | $ 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 | ||
| + | 2) 2022-08-14_04-00 | ||
| + | #? 4 | ||
| + | SELECTED BACKUP 2022-08-12_12-29 | ||
| 1/10 STOPPING CONTAINERS | 1/10 STOPPING CONTAINERS | ||
| 2/10 CHANGING ODOO FILES OWNERSHIP TO DO CLEANING WITHOUT SUDO ESCALATION | 2/10 CHANGING ODOO FILES OWNERSHIP TO DO CLEANING WITHOUT SUDO ESCALATION | ||