rclone
A step-by-step guide for setting up rclone with renterd for Windows, Mac OS, and Linux.
Last updated
A step-by-step guide for setting up rclone with renterd for Windows, Mac OS, and Linux.
Last updated
Rclone is a command-line program to manage files on cloud storage. Rclone is very feature-rich and integrates with dozens of cloud storage providers, including any S3-compatible object stores like Sia renterd
.
Users call rclone "The Swiss army knife of cloud storage", and "Technology indistinguishable from magic".
Rclone mounts any local, cloud, or virtual filesystem as a disk on Windows, Mac OS, Linux, and FreeBSD and serves these over SFTP, HTTP, WebDAV, FTP, and DLNA. The mount lets us interact with our Sia renterd
storage as a regular filesystem. We can mount renterd
storage to a server’s filesystem or even a local laptop’s filesystem.
renterd
and configure S3This guide requires that you have a working installation of renterd
. If you have not already installed renterd
, you will need to do so before continuing.
Make sure to configure S3 when installing renterd
, as this will be required later.
rclone
Please note that only rclone
versions 1.56.0 and above are supported.
Install rclone
for your system using the official rclone
install guide.
rclone
Now rclone
has been installed, you can use the interactive configuration wizard to set up a new remote. To do so, run the following command from the Terminal.
When the configuration wizard loads, enter n
to create a new remote.
Next, name your remote. You can name it anything you want, but for this guide, we will be naming it renterd
.
You will now be given a list of Storage
options. Type in s3
and press Enter
.
Next, you will be asked to select a Provider
. Type in other
and press Enter
You will now be asked to select how you would like to supply your S3 credentials. Since we are supplying an access_key_id
and secret_access_key
, we will not be using environment variables. Type in false
or simply press Enter
to use the default.
For the next two questions, you will be prompted for your access_key_id
and secret_access_key
that you set in Step 1.
When prompted for your Region
, press Enter
to leave it blank.
You will now be asked to enter an Endpoint
. This should be the same as the address
parameter we configured in our renterd.yml
for Step 1.
When asked for a Location constraint
press Enter
to leave it empty.
Next, you will be asked to select an ACL
from the list provided. Type in private
and press Enter
.
When asked if you would like to edit the advanced config, type in n
and press Enter
.
You will now be given a summary of your new remote. If they are correct, you can type in y
and press Enter
to save your remote.
You have now successfully created a remote for renterd
. You can now type in q
and press Enter
to quit the configuration wizard.
Now that your renterd
remote has been configured, it can be mounted on your computer's filesystem.
renterd
should now be successfully mounted on your computer's filesystem. For more details and system-specific instructions, visit the official rclone
documentation