Update 'documentation/restore.md'

This commit is contained in:
2022-10-01 16:58:58 +01:00
parent 5f28f2ef8a
commit 874b2705ce

View File

@@ -15,11 +15,11 @@ Restore everything from backup to original folders
### DB Engine not the same ### DB Engine not the same
Restore everything except db_data folders (db_dumps must be include in restore\) Restore everything except db_data folders (db_dumps must be included)
#### Restore Database #### Restore Database
1) confirm if DB container is running - Confirm if DB container is running (only db and duplicati should be running)
2) enter on duplicati container bash - Execute on duplication bash (using portainer)
execute: execute:
```bash ```bash
@@ -36,8 +36,8 @@ DB_ROOT_PASSWORD=youdbrootpassword
mysql -uroot -p'${DB_ROOT_PASSWORD}' ${DB_NAME} < /git/db-dumps/$DB_FILE mysql -uroot -p'${DB_ROOT_PASSWORD}' ${DB_NAME} < /git/db-dumps/$DB_FILE
``` ```
3) start git aplication and check everyting is ok 3) start all stop containers and check everyting is ok
4) Execute backup on duplicati 4) Execute backup on duplicati
5) Check backup is restorable 5) Check backup is restorable
6) Re Enable schedule backups on duplication 6) Re Enable schedule backups on duplication