Add 'documentation/restore.md'

This commit is contained in:
2022-10-01 16:31:22 +01:00
parent dbe6acbf0e
commit 8628a12ec5

23
documentation/restore.md Normal file
View File

@@ -0,0 +1,23 @@
# restore
1) Setup
2) stop all containers
### restore storate
1) enter duplicati import backup job
2) restore for original folders (including db-d)
Atention only restore db storage files if db engine is de same
### restore database
1) confirm if DB container is running
2) enter on duplicati container bash
execute:
```bash
mysql -uroot -p'${DB_ROOT_PASSWORD}' ${DB_NAME} < /git/db-dumps/filelename.sql
```
3) start git aplication and check everyting is ok