rclone

rclone is a command-line program to sync files and directories to and from

Google Drive
Amazon S3
Openstack Swift / Rackspace cloud files / Memset Memstore
Dropbox
Google Cloud Storage
Amazon Drive
Microsoft One Drive
Hubic
Backblaze B2
Yandex Disk
The local filesystem
And many more

Download and Install

  1. Connect to your slot with SSH.
  2. Download the latest release. wget https://downloads.rclone.org/rclone-current-linux-amd64.zip
  3. Extract the archive. unzip rclone*.zip
  4. Create a bin directory to store your binaries. mkdir ~/bin
  5. Move the rclone binary to your new bin directory. mv rclone-*/rclone ~/bin/
  6. Add ~/bin to your PATH so that you can run binaries in ~/bin without specifying the path. Ignore this step if you have performed it for a different program. echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
  7. (Optional) Remove the .zip file. rm rclone-*.zip

Configuration

Run rclone config

Documentation

Extensive documentation for rclone is available on its homepage.

Notes

You will always receive the following error when using FUSE mounts without root privileges. This is fine and it can be ignored. The error is:
mount helper error: fusermount: failed to open /etc/mtab: Permission denied

Many guides on the Internet have said to use the "allow_other" parameter, however you should not do this. This is only intended for when Plex runs on its own user account, and on a shared system it would mean other users being able to access your mounted data. We have this module disabled and you will receive errors if trying to use it.

If you receive this error:
mount helper error: fusermount: failed to chdir to mountpoint: Permission denied
It means that the mountpoint is broken. Forcefully unmount it with fusermount -uz ~/mountedfolder and then mount again normally.

Finally, do not plan on moving data directly to your mounted remote storage, for example with move-on-completion functions in your BitTorrent client. It simply will not work well, and rclone's mount function is not designed for that. While it can work on occasion, you will encounter issues. You should upload the data to the remote storage first, such as rclone's copy or move functions. Do not download torrents to mounted remote storage, and do not upload from mounted remote storage.