- This article will walkthrough the process of installing Rclone and connecting it to a Backblaze bucket for cloud backups. This will allow a user to push, pull, move, copy, etc, backups from Backblaze.
- Ubuntu 20.04LTS Server. (See here for instructions on how to install Ubuntu20.04LTS)
- Backblaze account set up with a bucket created.
- Terminal access to the server through SSH.
- Install Rclone
curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip unzip rclone-current-linux-amd64.zip cd rclone-*-linux-amd64 sudo su cp rclone /usr/bin chown root:root /usr/bin/rclone chmod 755 /usr/bin/rclone (OPTIONAL - Create manual page) mkdir -p /usr/local/share/man/man1 cp rclone.1 /usr/local/share/man/man1/ mandb
- Create an application key for the bucket.
- Copy this down. It will only appear here once.
- Create a new remote for rclone by running “rclone config” and you will be prompted for a name and which type of remote. Enter “5” for Backblaze B2.
- Enter the keyID and applicationKey from the backblaze webpage. Enter true or false on hard_delete option as you need.
- You should now be able to push or pull files from a Backblaze bucket. You can have multiple remotes at a time and have multiple buckets. The files can be moved in either direction based on the syntax of the Rclone commands. A list of Rclone commands is available here.
- We can then test that the authentication works. Here I have uploaded two random files.
- I will copy them to a folder I have created on the server using “rclone copy”