Update backup
This commit is contained in:
parent
a318514403
commit
94aee95c3e
1 changed files with 9 additions and 13 deletions
|
@ -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`
|
||||
|
||||
|
|
Loading…
Reference in a new issue