What is the Rclone Tool?
What is the Rclone tool?
Rclone is a free tool for managing files and folders on cloud storage on Windows, macOS, Linux and FreeBSD.
How do I install rclone?
Please follow the installation instructions described here. We recommend using the latest stable release from there.
Before installing rclone you will need the following information:
- access_key
- secret_key
- Contabo's S3 URL
To note, installing Rclone via your distro's package manager can cause the download/upload speed to suffer.
How do I configure rclone with Contabo's Object Storage?
- Run rclone config.
- Specify n for n) New remote.
- Specify a name, e.g. eu2.
- Specify 5 for Amazon S3 Compliant Storage Providers including AWS, Alibaba, ArvanCloud, Ceph, China Mobile, Cloudflare, GCS, DigitalOcean, Dreamhost, Huawei OBS, IBM COS, IDrive e2, IONOS Cloud, Liara, Lyve Cloud, Minio, Netease, Petabox, RackCorp, Scaleway, SeaweedFS, StackPath, Storj, Tencent COS, Qiniu and Wasabi.
- Specify 4 for Ceph Object Storage.
- Specify 1 for Enter AWS credentials in the next step.
- Specify your access_key, e.g. 82046e8110804a43bf29c1ae426a724d for access_key_id.
- Specify your secret_key, e.g. 82e69bd7a52076c527154297a76c2233 for secret_access_key.
- Press return to skip region.
- Specify the S3 URL, e.g. https://eu2.contabostorage.com for endpoint.
- Press return to skip location_constraint.
- Press return to skip acl.
- Press return to skip server_side_encryption.
- Press return to skip sse_kms_key_id.
- Specify n for Edit advanced config.
- Specify y for Yes this is OK (default).
- Optionally specify q to quit the configuration mode.
How do I mount using rclone?
Please note that that a mounted Object Storage bucket doesn't always behave like a normal POSIX file system. Depending on how your application is accessing files, you may encounter issues like:
- no/wrong file system usage statistics
- sub-par performance
- unexpected unmounts
- duplicate writes leading to hidden objects that occupy space but are invisible to S3 API requests
Below you can find an example to mount a bucket to /mnt with recommend flags for optimal performance:
rclone mount eu2:bucketname /mnt --vfs-cache-mode full --vfs-fast-fingerprint --no-modtime
To learn more about available mount options, check the rclone mount documentation.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article