From a3185144033d0a77f743bdbff8254576d468bbb1 Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 3 Nov 2023 11:35:05 +0100 Subject: [PATCH] Update restore --- doc/BackupAndRestore.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/BackupAndRestore.md b/doc/BackupAndRestore.md index 4bb3334..4dc5bf4 100644 --- a/doc/BackupAndRestore.md +++ b/doc/BackupAndRestore.md @@ -36,15 +36,16 @@ ## Manual restore -1. Scale gateway and front deployment down: - `kubectl scale deployment taiga-gateway-deployment --replicas=0` - `kubectl scale deployment taiga-front-deployment --replicas=0` -2. 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` +2. Scale backup-restore deployment up: `kubectl scale deployment backup-restore --replicas=1` -3. exec into pod and execute restore pod +3. exec into pod and execute restore pod: `kubectl exec -it backup-restore -- /usr/local/bin/restore.sh` -4. Scale backup-restore deployment down: - `kubectl scale deployment backup-restore --replicas=0` -1. Scale gateway and front deployment up: +4. Scale backup-restore deployment down: + `kubectl scale deployment backup-restore --replicas=0` +5. 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` +