Developer
Searchโ€ฆ
Rclone Integration
Quickstart guide to run Rclone with the StoreWise gateway.
To connect the gateway running the S3 server to rclone, add the code block below to ~/.config/rclone/rclone.conf
1
[storewise]
2
type = s3
3
provider = Other
4
env_auth = false
5
access_key_id = <access key id>
6
secret_access_key = <secret access key>
7
endpoint = http://localhost:9200
8
acl = private
9
bucket_acl = private
10
upload_cutoff = 40M
11
upload_concurrency = 1
12
force_path_style = true
13
v2_auth = false
Copied!
To confirm the configuration is correct we can try listing all buckets in the account;
1
rclone lsd storewise:
Copied!
Create a new bucket;
1
rclone mkdir storewise:bucket
Copied!
If we want to sync a directory, e.g. /home/local/directory to the previously created bucket;
1
rclone sync /home/local/directory storewise:bucket
Copied!
We can also mount a bucket to a specific folder for continuous synchronization;
1
rclone mount --vfs-cache-mode full storewise:rclone /home/local/directory
Copied!
The complete Rclone S3 documentation can be found here.
When consulting the Rclone documentation don't forget to change out "remote" to "storewise" or "gateway" in the listed commands.
โ€‹
Last modified 1yr ago
Copy link