From b57e15b7d6dd308d7cd7dd91d086f8f362987e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Wed, 5 Oct 2022 11:39:37 +0100 Subject: [PATCH] . --- documentation/restore.md | 5 ++++- documentation/setup.md | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/documentation/restore.md b/documentation/restore.md index db974c5..ba6f382 100644 --- a/documentation/restore.md +++ b/documentation/restore.md @@ -20,15 +20,18 @@ Restore everything from backup to original folders Restore everything except db_data folders (db_dumps must be included) #### Restore Database + - 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: + ```bash #check last files db-dumps ls /git/db-dumps #pick file to import (maybe the last one :)) ``` + import file ```bash diff --git a/documentation/setup.md b/documentation/setup.md index 7f0d89d..de424dd 100644 --- a/documentation/setup.md +++ b/documentation/setup.md @@ -41,9 +41,9 @@ lxc exec $containername -- bash -c "docker container list" ### Restore -1) Execute Normal Setup +1) Execute Setup process 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 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) @@ -53,9 +53,9 @@ lxc exec $containername -- bash -c "docker container list" #### 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) -2) Start Database container (stopped in restore process) +1) Start Portainer container (if stopped in restore process) +2) Start Database container (if stopped in restore process) 3) Enter duplicati bash (by using portainer) 4) Execute Command