I was hoping to have a place for QNAP users to document their process of installing RCLONE on their NAS machine.
I have a lower end TS 212P NAS and I’m looking to back up family photos/videos that are encrypted to cloud storage. I want to use Rclone and then use a script/cronjob to copy selected folders to my backblaze B2 bucket encrypted. The hybrid app only allows for sync and there is no official back blaze B2 app available. I’ve stumbled across a few ideas, but can’t seem to find a complete solution. Hopefully as a community, we can document a solution together.
I will take some ideas found here and document my progress as I go.
https://forum.qnap.com/viewtopic.php?t=123914
Log in to QNAP server
Check what architecture your NAS uses.
My output
I have a armv5tel, so I will be using the Linux ARM 32 bit version of RCLONE for my QNAP.
Next we will make a folder home for RCLONE files.
I had some trouble here as my mkdir -p would not make the folder. I’m not sure if it’s an issue with my particular setup or some other issue. Permissions looked good, but I ended up using:
Enter /share/Web/backup/sync to download and extract the required files.
Download latest version of RCLONE for your particular NAS. I had to use the mirror page to download RCLONE as I was getting an SSL error. Use wget and copy/paste the link to the newest file.
wget https://github.com/ncw/rclone/releases/download/v1.37/rclone-v1.37-linux-arm.zip
unzip rclone-v1.37-linux-arm.zip
mv rclone-v1.37-linux-arm/rclone .
I have RCLONE installed on my system and next I need to tackle SSL. Stefan Wienert recommends this:
cd /share/backup/sync
wget --no-check-certificate https://curl.haxx.se/ca/cacert.pem
mkdir certs
cd certs
for filename in cert*pem;do mv $filename `openssl x509 -hash -noout -in $filename`.0; done;
cp *.pem /etc/ssl/certs/
Running this gives me an error.
cd /share/Web/backup/sync
wget --no-check-certificate https://curl.haxx.se/ca/cacert.pemwget
Error given in SSH.
OpenSSL: error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version
Unable to establish SSL connection.
Anyone care to chime in to get past this error?