.
This commit is contained in:
@@ -20,15 +20,18 @@ Restore everything from backup to original folders
|
|||||||
Restore everything except db_data folders (db_dumps must be included)
|
Restore everything except db_data folders (db_dumps must be included)
|
||||||
|
|
||||||
#### Restore Database
|
#### Restore Database
|
||||||
|
|
||||||
- Confirm if DB container is running (only db and duplicati should be running)
|
- Confirm if DB container is running (only db and duplicati should be running)
|
||||||
- Execute on duplication bash (using portainer)
|
- Execute on duplicati bash (using portainer)
|
||||||
|
|
||||||
execute:
|
execute:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#check last files db-dumps
|
#check last files db-dumps
|
||||||
ls /git/db-dumps
|
ls /git/db-dumps
|
||||||
#pick file to import (maybe the last one :))
|
#pick file to import (maybe the last one :))
|
||||||
```
|
```
|
||||||
|
|
||||||
import file
|
import file
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -41,9 +41,9 @@ lxc exec $containername -- bash -c "docker container list"
|
|||||||
|
|
||||||
### Restore
|
### Restore
|
||||||
|
|
||||||
1) Execute Normal Setup
|
1) Execute Setup process
|
||||||
2)Check Every Container is ok and running
|
2)Check Every Container is ok and running
|
||||||
3)Stop Every Container (including portainer) except duplicati
|
3)Stop Every Container (including portainer, if restoring portainer is a requirement) except duplicati
|
||||||
4)Enter Duplicati
|
4)Enter Duplicati
|
||||||
5)Import Backjob (if possible, if not possible next steps must be adapted)
|
5)Import Backjob (if possible, if not possible next steps must be adapted)
|
||||||
- All Imported jobs schedules must be disabled (or disable write permissions on backup host)
|
- All Imported jobs schedules must be disabled (or disable write permissions on backup host)
|
||||||
@@ -53,9 +53,9 @@ lxc exec $containername -- bash -c "docker container list"
|
|||||||
|
|
||||||
#### Database
|
#### Database
|
||||||
|
|
||||||
Only required of database data files not recovarable (example: diferent databases engine)
|
Only required of database data files not recovarable (example: diferent database engine from backup)
|
||||||
|
|
||||||
1) Start Portainer container (stopped in restore process)
|
1) Start Portainer container (if stopped in restore process)
|
||||||
2) Start Database container (stopped in restore process)
|
2) Start Database container (if stopped in restore process)
|
||||||
3) Enter duplicati bash (by using portainer)
|
3) Enter duplicati bash (by using portainer)
|
||||||
4) Execute Command
|
4) Execute Command
|
||||||
|
|||||||
Reference in New Issue
Block a user