Skip to content

Commit

Permalink
Update redis backup docs
Browse files Browse the repository at this point in the history
Signed-off-by: Neaj Morshad <[email protected]>
  • Loading branch information
Neaj-Morshad-101 committed Oct 9, 2024
1 parent d0b85a2 commit 1bfc27b
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
storage:
provider: gcs
gcs:
bucket: neaj-demo
bucket: kubestash-qa
prefix: demo
secretName: gcs-secret
usagePolicy:
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/redis/backup/kubestash/application-level/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ $ kubectl exec -it -n demo sample-redis-0 -c redis -- bash
redis@sample-redis-0:/data$ redis-cli
127.0.0.1:6379> set db redis
OK
127.0.0.1:6379> set name neaj
127.0.0.1:6379> set name batman
OK
127.0.0.1:6379> set key value
OK
Expand Down Expand Up @@ -245,7 +245,7 @@ spec:
storage:
provider: gcs
gcs:
bucket: neaj-demo
bucket: kubestash-qa
prefix: demo
secretName: gcs-secret
usagePolicy:
Expand Down Expand Up @@ -632,7 +632,7 @@ redis@sample-redis-0:/data$ redis-cli
127.0.0.1:6379> get db
"redis"
127.0.0.1:6379> get name
"neaj"
"batman"
127.0.0.1:6379> get key
"value"
127.0.0.1:6379> exit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
storage:
provider: gcs
gcs:
bucket: neaj-demo
bucket: kubestash-qa
prefix: demo
secretName: gcs-secret
usagePolicy:
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/redis/backup/kubestash/auto-backup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spec:
storage:
provider: gcs
gcs:
bucket: neaj-demo
bucket: kubestash-qa
prefix: blueprint
secretName: gcs-secret
usagePolicy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
storage:
provider: gcs
gcs:
bucket: neaj-demo
bucket: kubestash-qa
prefix: demo
secretName: gcs-secret
usagePolicy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
storage:
provider: s3
s3:
bucket: neaj-new
bucket: kubestash-qa
region: ap-south-1
endpoint: ap-south-1.linodeobjects.com
secretName: s3-secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
storage:
provider: gcs
gcs:
bucket: neaj-demo
bucket: kubestash-qa
prefix: demo
secretName: gcs-secret
usagePolicy:
Expand Down
8 changes: 4 additions & 4 deletions docs/guides/redis/backup/kubestash/logical/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ redis@redis-cluster-shard0-0:/data$ redis-cli -c
OK
127.0.0.1:6379> set db redis
OK
127.0.0.1:6379> set name neaj
127.0.0.1:6379> set name batman
-> Redirected to slot [5798] located at 10.244.0.48:6379
OK
10.244.0.48:6379> set key value
Expand Down Expand Up @@ -282,7 +282,7 @@ spec:
storage:
provider: gcs
gcs:
bucket: neaj-demo
bucket: kubestash-qa
prefix: demo
secretName: gcs-secret
usagePolicy:
Expand Down Expand Up @@ -649,7 +649,7 @@ Once, you have created the `RestoreSession` object, KubeStash will create restor

```bash
$ watch kubectl get restoresession -n demo
Every 2.0s: kubectl get restoresession -n demo neaj-desktop: Wed Sep 18 15:53:42 2024
Every 2.0s: kubectl get restoresession -n demo batman-desktop: Wed Sep 18 15:53:42 2024
NAME REPOSITORY FAILURE-POLICY PHASE DURATION AGE
redis-cluster-restore gcs-redis-repo Succeeded 1m26s 4m49s
```
Expand Down Expand Up @@ -692,7 +692,7 @@ OK
"redis"
127.0.0.1:6379> get name
-> Redirected to slot [5798] located at 10.244.0.66:6379
"neaj"
"batman"
10.244.0.66:6379> get key
-> Redirected to slot [12539] located at 10.244.0.70:6379
"value"
Expand Down

0 comments on commit 1bfc27b

Please sign in to comment.