You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: restore/rclone/README.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,34 @@ objectStorage:
78
78
enabled: true
79
79
```
80
80
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
+
81
109
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/)):
82
110
83
111
```yaml
@@ -88,7 +116,7 @@ objectStorage:
88
116
azure:
89
117
...
90
118
s3:
91
-
...
119
+
...# examples under objectStorage.sync in defaults/common-config.yaml
0 commit comments