Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit 2ffccbd

Browse files
authored
Merge pull request #713 from arangodb/rclone-configuration-special-params
hint to examine rclone configuration using standalone binary
2 parents dfe9ac1 + 567f2c8 commit 2ffccbd

9 files changed

+70
-22
lines changed

3.6/backup-restore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ of that of the single server installation.
192192
- **Remote Upload and Download**
193193

194194
We have fully integrated the
195-
[Rclone](https://rclone.org/) sync for cloud storage. Rclone is a very
195+
[rclone](https://rclone.org/) sync for cloud storage. Rclone is a very
196196
versatile inter site sync facility, which opens up a vast field of transport
197197
protocols and remote syncing APIs from Amazon's S3 over Dropbox, WebDAV,
198198
all the way to the local file system and network storage.

3.6/programs-arangobackup-examples.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ The output will look like this:
188188
2019-07-30T08:11:09Z [17465] INFO [68cc8] {backup} Last progress update 2019-07-30T08:10:10Z: 5/5 files done
189189
```
190190

191-
See [Rclone Configuration](#rclone-configuration) for details about the `remote.json`
191+
See [rclone Configuration](#rclone-configuration) for details about the `remote.json`
192192
file to configure the remote site for `rclone` for different protocols than S3.
193193

194194
Download
@@ -237,7 +237,7 @@ Rclone Configuration
237237
[Rclone](https://rclone.org/){:target="_blank"} is a versatile open-source
238238
remote file sync program that can deal with over 30 different remote file
239239
IO protocols. Enterprise Editions of ArangoDB come with a bundled version
240-
of Rclone, which is distributed under the MIT license. It is used to
240+
of rclone, which is distributed under the MIT license. It is used to
241241
both download and upload hot backup sets to and from local and cloud
242242
operated storage resources.
243243

@@ -246,11 +246,11 @@ Hot backup directories, which are subject to an ongoing download cannot
246246
be used for restores until the download has finished.
247247
{% endhint %}
248248

249-
To configure Rclone, use the `rclone-config-file` startup option to
249+
To configure rclone, use the `rclone-config-file` startup option to
250250
point arangobackup to a JSON configuration file. The expected format
251251
is an object with user-chosen remote names as attribute keys, and the
252252
actual configuration as attribute value (a nested object). The option
253-
names and values in the [Rclone documentation](https://rclone.org/docs/){:target="_blank"}
253+
names and values in the [rclone documentation](https://rclone.org/docs/){:target="_blank"}
254254
directly translate into attribute/value pairs in the JSON file.
255255
Note that `"true"` and `"false"` must be enclosed by double quotes.
256256

@@ -268,6 +268,18 @@ The syntax for remote paths is `remote:path`, where `remote` is the
268268
name of a top-level attribute in the configuration file, `path` is a
269269
remote path, and both are separated by a colon (e.g. `my-remote:/a/b/c`).
270270

271+
{% hint 'info' %}
272+
Some cloud vendors require rclone configuration parameters, which are very
273+
specific. It is helpful to download a standalone version of rclone and try to
274+
upload and download files to verify that one has a working configuration for
275+
the cloud storage in question. The exhaustive documentation parameters of `S3`
276+
for example are found at [rclone.org/s3/](https://rclone.org/s3/){:target="_blank"}.
277+
Every parameter can be executed as an option to the program invocation, say
278+
`--s3-upload-cutoff=0`, as an environment variable like
279+
`export RCLONE_S3_UPLOAD_CUTOFF=0`, or most importantly, for use with ArangoDB,
280+
as a key value pair for the JSON files below, `{ ..., "upload_cutoff": 0, ... }`.
281+
{% endhint %}
282+
271283
### S3
272284

273285
```bash

3.7/backup-restore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ of that of the single server installation.
192192
- **Remote Upload and Download**
193193

194194
We have fully integrated the
195-
[Rclone](https://rclone.org/) sync for cloud storage. Rclone is a very
195+
[rclone](https://rclone.org/) sync for cloud storage. Rclone is a very
196196
versatile inter site sync facility, which opens up a vast field of transport
197197
protocols and remote syncing APIs from Amazon's S3 over Dropbox, WebDAV,
198198
all the way to the local file system and network storage.

3.7/deployment-kubernetes-backup-resource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ metadata:
234234
type: Opaque
235235
```
236236

237-
`JSON Token` options are described on the [Rclone](https://rclone.org/){:target="_blank"} page.
237+
`JSON Token` options are described on the [rclone](https://rclone.org/){:target="_blank"} page.
238238
We can define more than one protocols at same time in one secret.
239239

240240
This field is defined in json format:
@@ -248,7 +248,7 @@ This field is defined in json format:
248248
}
249249
```
250250

251-
AWS S3 example - based on [Rclone S3](https://rclone.org/s3/){:target="_blank"} documentation and interactive process:
251+
AWS S3 example - based on [rclone S3](https://rclone.org/s3/){:target="_blank"} documentation and interactive process:
252252

253253
```json
254254
{

3.7/programs-arangobackup-examples.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ The output will look like this:
188188
2019-07-30T08:11:09Z [17465] INFO [68cc8] {backup} Last progress update 2019-07-30T08:10:10Z: 5/5 files done
189189
```
190190

191-
See [Rclone Configuration](#rclone-configuration) for details about the `remote.json`
191+
See [rclone Configuration](#rclone-configuration) for details about the `remote.json`
192192
file to configure the remote site for `rclone` for different protocols than S3.
193193

194194
Download
@@ -237,7 +237,7 @@ Rclone Configuration
237237
[Rclone](https://rclone.org/){:target="_blank"} is a versatile open-source
238238
remote file sync program that can deal with over 30 different remote file
239239
IO protocols. Enterprise Editions of ArangoDB come with a bundled version
240-
of Rclone, which is distributed under the MIT license. It is used to
240+
of rclone, which is distributed under the MIT license. It is used to
241241
both download and upload hot backup sets to and from local and cloud
242242
operated storage resources.
243243

@@ -246,11 +246,11 @@ Hot backup directories, which are subject to an ongoing download cannot
246246
be used for restores until the download has finished.
247247
{% endhint %}
248248

249-
To configure Rclone, use the `rclone-config-file` startup option to
249+
To configure rclone, use the `rclone-config-file` startup option to
250250
point arangobackup to a JSON configuration file. The expected format
251251
is an object with user-chosen remote names as attribute keys, and the
252252
actual configuration as attribute value (a nested object). The option
253-
names and values in the [Rclone documentation](https://rclone.org/docs/){:target="_blank"}
253+
names and values in the [rclone documentation](https://rclone.org/docs/){:target="_blank"}
254254
directly translate into attribute/value pairs in the JSON file.
255255
Note that `"true"` and `"false"` must be enclosed by double quotes.
256256

@@ -268,6 +268,18 @@ The syntax for remote paths is `remote:path`, where `remote` is the
268268
name of a top-level attribute in the configuration file, `path` is a
269269
remote path, and both are separated by a colon (e.g. `my-remote:/a/b/c`).
270270

271+
{% hint 'info' %}
272+
Some cloud vendors require rclone configuration parameters, which are very
273+
specific. It is helpful to download a standalone version of rclone and try to
274+
upload and download files to verify that one has a working configuration for
275+
the cloud storage in question. The exhaustive documentation parameters of `S3`
276+
for example are found at [rclone.org/s3/](https://rclone.org/s3/){:target="_blank"}.
277+
Every parameter can be executed as an option to the program invocation, say
278+
`--s3-upload-cutoff=0`, as an environment variable like
279+
`export RCLONE_S3_UPLOAD_CUTOFF=0`, or most importantly, for use with ArangoDB,
280+
as a key value pair for the JSON files below, `{ ..., "upload_cutoff": 0, ... }`.
281+
{% endhint %}
282+
271283
### S3
272284

273285
```bash

3.8/backup-restore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ of that of the single server installation.
192192
- **Remote Upload and Download**
193193

194194
We have fully integrated the
195-
[Rclone](https://rclone.org/) sync for cloud storage. Rclone is a very
195+
[rclone](https://rclone.org/) sync for cloud storage. Rclone is a very
196196
versatile inter site sync facility, which opens up a vast field of transport
197197
protocols and remote syncing APIs from Amazon's S3 over Dropbox, WebDAV,
198198
all the way to the local file system and network storage.

3.8/programs-arangobackup-examples.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ The output will look like this:
188188
2019-07-30T08:11:09Z [17465] INFO [68cc8] {backup} Last progress update 2019-07-30T08:10:10Z: 5/5 files done
189189
```
190190

191-
See [Rclone Configuration](#rclone-configuration) for details about the `remote.json`
191+
See [rclone Configuration](#rclone-configuration) for details about the `remote.json`
192192
file to configure the remote site for `rclone` for different protocols than S3.
193193

194194
Download
@@ -237,7 +237,7 @@ Rclone Configuration
237237
[Rclone](https://rclone.org/){:target="_blank"} is a versatile open-source
238238
remote file sync program that can deal with over 30 different remote file
239239
IO protocols. Enterprise Editions of ArangoDB come with a bundled version
240-
of Rclone, which is distributed under the MIT license. It is used to
240+
of rclone, which is distributed under the MIT license. It is used to
241241
both download and upload hot backup sets to and from local and cloud
242242
operated storage resources.
243243

@@ -246,11 +246,11 @@ Hot backup directories, which are subject to an ongoing download cannot
246246
be used for restores until the download has finished.
247247
{% endhint %}
248248

249-
To configure Rclone, use the `rclone-config-file` startup option to
249+
To configure rclone, use the `rclone-config-file` startup option to
250250
point arangobackup to a JSON configuration file. The expected format
251251
is an object with user-chosen remote names as attribute keys, and the
252252
actual configuration as attribute value (a nested object). The option
253-
names and values in the [Rclone documentation](https://rclone.org/docs/){:target="_blank"}
253+
names and values in the [rclone documentation](https://rclone.org/docs/){:target="_blank"}
254254
directly translate into attribute/value pairs in the JSON file.
255255
Note that `"true"` and `"false"` must be enclosed by double quotes.
256256

@@ -268,6 +268,18 @@ The syntax for remote paths is `remote:path`, where `remote` is the
268268
name of a top-level attribute in the configuration file, `path` is a
269269
remote path, and both are separated by a colon (e.g. `my-remote:/a/b/c`).
270270

271+
{% hint 'info' %}
272+
Some cloud vendors require rclone configuration parameters, which are very
273+
specific. It is helpful to download a standalone version of rclone and try to
274+
upload and download files to verify that one has a working configuration for
275+
the cloud storage in question. The exhaustive documentation parameters of `S3`
276+
for example are found at [rclone.org/s3/](https://rclone.org/s3/){:target="_blank"}.
277+
Every parameter can be executed as an option to the program invocation, say
278+
`--s3-upload-cutoff=0`, as an environment variable like
279+
`export RCLONE_S3_UPLOAD_CUTOFF=0`, or most importantly, for use with ArangoDB,
280+
as a key value pair for the JSON files below, `{ ..., "upload_cutoff": 0, ... }`.
281+
{% endhint %}
282+
271283
### S3
272284

273285
```bash

3.9/backup-restore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ of that of the single server installation.
192192
- **Remote Upload and Download**
193193

194194
We have fully integrated the
195-
[Rclone](https://rclone.org/) sync for cloud storage. Rclone is a very
195+
[rclone](https://rclone.org/) sync for cloud storage. Rclone is a very
196196
versatile inter site sync facility, which opens up a vast field of transport
197197
protocols and remote syncing APIs from Amazon's S3 over Dropbox, WebDAV,
198198
all the way to the local file system and network storage.

3.9/programs-arangobackup-examples.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ The output will look like this:
188188
2019-07-30T08:11:09Z [17465] INFO [68cc8] {backup} Last progress update 2019-07-30T08:10:10Z: 5/5 files done
189189
```
190190

191-
See [Rclone Configuration](#rclone-configuration) for details about the `remote.json`
191+
See [rclone Configuration](#rclone-configuration) for details about the `remote.json`
192192
file to configure the remote site for `rclone` for different protocols than S3.
193193

194194
Download
@@ -237,7 +237,7 @@ Rclone Configuration
237237
[Rclone](https://rclone.org/){:target="_blank"} is a versatile open-source
238238
remote file sync program that can deal with over 30 different remote file
239239
IO protocols. Enterprise Editions of ArangoDB come with a bundled version
240-
of Rclone, which is distributed under the MIT license. It is used to
240+
of rclone, which is distributed under the MIT license. It is used to
241241
both download and upload hot backup sets to and from local and cloud
242242
operated storage resources.
243243

@@ -246,11 +246,11 @@ Hot backup directories, which are subject to an ongoing download cannot
246246
be used for restores until the download has finished.
247247
{% endhint %}
248248

249-
To configure Rclone, use the `rclone-config-file` startup option to
249+
To configure rclone, use the `rclone-config-file` startup option to
250250
point arangobackup to a JSON configuration file. The expected format
251251
is an object with user-chosen remote names as attribute keys, and the
252252
actual configuration as attribute value (a nested object). The option
253-
names and values in the [Rclone documentation](https://rclone.org/docs/){:target="_blank"}
253+
names and values in the [rclone documentation](https://rclone.org/docs/){:target="_blank"}
254254
directly translate into attribute/value pairs in the JSON file.
255255
Note that `"true"` and `"false"` must be enclosed by double quotes.
256256

@@ -268,6 +268,18 @@ The syntax for remote paths is `remote:path`, where `remote` is the
268268
name of a top-level attribute in the configuration file, `path` is a
269269
remote path, and both are separated by a colon (e.g. `my-remote:/a/b/c`).
270270

271+
{% hint 'info' %}
272+
Some cloud vendors require rclone configuration parameters, which are very
273+
specific. It is helpful to download a standalone version of rclone and try to
274+
upload and download files to verify that one has a working configuration for
275+
the cloud storage in question. The exhaustive documentation parameters of `S3`
276+
for example are found at [rclone.org/s3/](https://rclone.org/s3/){:target="_blank"}.
277+
Every parameter can be executed as an option to the program invocation, say
278+
`--s3-upload-cutoff=0`, as an environment variable like
279+
`export RCLONE_S3_UPLOAD_CUTOFF=0`, or most importantly, for use with ArangoDB,
280+
as a key value pair for the JSON files below, `{ ..., "upload_cutoff": 0, ... }`.
281+
{% endhint %}
282+
271283
### S3
272284

273285
```bash

0 commit comments

Comments
 (0)