Rclone is an excellent solution combined with the RaspberryPi.
- First I built a standard Raspbian Raspberry Pi
- Installed Rclone on it - you need the Linux ARM - 32 Bit version
How to install:
unzip rclone-v1.28-linux-arm.zip
cd rclone-v1.28-linux-arm
#copy binary file
sudo cp rclone /usr/sbin/
sudo chown root:root /usr/sbin/rclone
sudo chmod 755 /usr/sbin/rclone
#install manpage
sudo mkdir -p /usr/local/share/man/man1
sudo cp rclone.1 /usr/local/share/man/man1/
sudo mandb
-
Then need to map the WD MyCloud (or any NAS for that matter)
Here is a good tutorial on how to do this
Mounting and AutoMounting Windows Shares on Raspberry Pi | Raspberry Pi Adventures
shares-on-raspberry-pi/
https://rasspberrypi.wordpress.com/2012/09/04/mounting-and-automounting-windows-shares-on-raspberry-pi/
One issue I hit was that when rebooting the RPi I lost the share.
This turned out to be an issue with how the RPi boots up.
You need to change the configuration of the RPi to not complete boot until
network is up.
This is done (one way to do it) via the Updated Raspberry Pi Configuration
application. You select the “Wait for network” option
[image: Raspberry Pi Config] -
You then need to configure Rclone which is easy using
rclone config
This configuration depends on the cloud service you are using.
-
Then you need to initiate a backup
Example:
rclone copy source:sourcepath dest:destpath -
You probably then want to schedule backups - use crontab or similar.
Let me know if you want any further details on this
Gilad