Western Digital: My Cloud
From Indie IT Wiki
NOTE: In a Terminal:~$ instruction items written in bold are comments and are not to be entered in the terminal itself.
NOTE: In nano instructions anything in bold is a comment and is not to be entered.
INFO
Default Username & Password
Username: root Password: welc0me
Power Off - Local
- Open a web browser and in the address bar type in the IP address of your My Cloud device
- Settings >> Utilities >> Device Management >> Shutdown
Power Off - Remote
HOWTO: ENABLE
SSH
Settings >> Network >> Network Services >> SSH >> On.
RSYNC
Ensure that SSH has been enabled on the My Cloud, then:
Terminal:~$ ssh root@192.168.0.100 where the IP address after @ is the WD My Cloud
The default log details are:
Username: root Password: welc0me
TERMINAL:~$ nano /etc/rsyncd.secrets
CTRL+O, then CTRL+X to save to disc and close the nano/file, the file will be empty but it is needed later on in the tutorial.
TERMINAL:~$ nano /etc/rsyncd.conf [shares] # The following path works fine. When you setup the backup task you will be able to choose the desired WD share. path = /shares uid = root gid = root read only = no list = yes # auth users = all secrets file = /etc/rsyncd.secrets # the IP address(es) of machines to have access, modify the IP address(es) to mirror those of your own network # hosts allow = 192.168.0.0/255.255.255.0 allows everyone, remove the # to enable # hosts allow = 192.168.0.100/255.255.255.0 allows a specific IP address, remove the # to enable
CTRL+O, then CTRL+X to save to disc and close the nano/file.
Terminal:~$ rsync --daemon
It should now be possible to run your backup task.
To start rsync automatically on the WD reboot, do the following:
Terminal:~$ nano /etc/init.d/rsync change RSYNC_ENABLE=false to RSYNC_ENABLE=true
CTRL+O, then CTRL+X to save to disc and close the nano/file.
Terminal:~$ nano /etc/default/rsync change RSYNC_ENABLE=false to RSYNC_ENABLE=true
Thanks to Etupes at WD Community