From 94aee95c3eda17fd5337bc7f300c52958a36cbba Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 3 Nov 2023 11:35:44 +0100 Subject: [PATCH] Update backup --- doc/BackupAndRestore.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/doc/BackupAndRestore.md b/doc/BackupAndRestore.md index 4dc5bf4..a11bbe7 100644 --- a/doc/BackupAndRestore.md +++ b/doc/BackupAndRestore.md @@ -16,23 +16,20 @@ 1. Scale backup-restore deployment down: `kubectl scale deployment backup-restore --replicas=0` - - ## Manual backup the restic repository for the first time -1. Scale gateway and front deployment down: - `kubectl scale deployment taiga-gateway-deployment --replicas=0` - `kubectl scale deployment taiga-front-deployment --replicas=0` -1. Scale backup-restore deployment up: +1. Scale gateway and front deployment down: + `kubectl scale deployment taiga-gateway-deployment --replicas=0` + `kubectl scale deployment taiga-front-deployment --replicas=0` +1. Scale backup-restore deployment up: `kubectl scale deployment backup-restore --replicas=1` -1. exec into pod and execute restore pod +1. exec into pod and execute restore pod `kubectl exec -it backup-restore -- /usr/local/bin/backup.sh` -1. Scale backup-restore deployment down: - `kubectl scale deployment backup-restore --replicas=0` -1. Scale gateway and front deployment up: +1. Scale backup-restore deployment down: + `kubectl scale deployment backup-restore --replicas=0` +1. Scale gateway and front deployment up: + `kubectl scale deployment taiga-front-deployment --replicas=1` `kubectl scale deployment taiga-gateway-deployment --replicas=1` - `kubectl scale deployment taiga-front-deployment --replicas=1` - ## Manual restore @@ -48,4 +45,3 @@ 5. Scale gateway and front deployment up: `kubectl scale deployment taiga-front-deployment --replicas=1` `kubectl scale deployment taiga-gateway-deployment --replicas=1` -