Skip to content

Commit a42bb51

Browse files
authored
docs: Improve rclone restore doc (#2777)
1 parent 468ecef commit a42bb51

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

restore/rclone/README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,34 @@ objectStorage:
7878
enabled: true
7979
```
8080
81+
Make sure to add networkpolicies:
82+
83+
```yaml
84+
# file: sc-config.yaml
85+
networkPolicies:
86+
rclone:
87+
sync: # restore uses networkpolicies under sync
88+
objectStorage:
89+
ips:
90+
## ips of the objectstorage to restore from, same as networkpolicies.global.objectstorage.ips
91+
## from common-config.yaml in the origin cluster config
92+
- <ip>
93+
- <ip>
94+
ports:
95+
- 443
96+
```
97+
98+
And credentials:
99+
100+
```yaml
101+
# file: secrets.yaml
102+
objectStorage:
103+
sync: # restore uses credentials under sync
104+
s3:
105+
accessKey: <key>
106+
secretKey: <key>
107+
```
108+
81109
Specify destinations and sources (the backend object storage services) you want to use, follows the same structure as `.objectStorage.type` does ([config schema](https://elastisys.io/welkin/operator-manual/schema/config-properties-object-storage-config-properties-rclone-restore-config)) ([secrets schema](https://elastisys.io/welkin/operator-manual/schema/secrets-properties-object-storage-secrets-properties-rclone-restore-secrets/)):
82110
83111
```yaml
@@ -88,7 +116,7 @@ objectStorage:
88116
azure:
89117
...
90118
s3:
91-
...
119+
... # examples under objectStorage.sync in defaults/common-config.yaml
92120
swift:
93121
...
94122

0 commit comments

Comments
 (0)