Enabling Rsync to the WD My Cloud

wd-my-cloudLinux’s rsync utility is a simple way to do incremental backups.This saves a lot of time, because rsync will only copy files that have changed. If you have a large collection of MP3s, for example, rerunning an rsync backup only copies the new files (or modified files if you’ve renamed or retagged them) to the backup.

Here’s how to set up the WD My Cloud to be able to back up to it and restore from it using rsync from Linux:

  1. Run: arp -n
  2. If the MAC address of your WD My Cloud doesn’t show, try: sudo arp-scan -l
  3. Copy the IP address that maps to the MAC address of your WD My Cloud
  4. Paste it into the address bar of your browser
  5. After logging in to your WD My Cloud, you should probably change the root password
  6. You can create users and shares from the GUI
  7. Shares will be stored in the /shares directory and are owned by root
  8. From the GUI, click Settings (you may need to scroll the top menu to the left to see this button)
  9. Select Network from the menu
  10. Set SSH to ON

Some important points:

  1. The default ssh user sshd is an alias for root. To log in to the box, run (substituting the correct IP, determined with arp): ssh sshd@
  2. Do not try to back up to the root account. It is on a tiny filesystem. Instead, specify the full path to one of the shares you’ve created
  3. You can “dry run” any rsync command to see what it would do by including the -n option, but it doesn’t work well, IMO.

Example backup command:

rsync -ahv Documents root@

Restore with the same command, switching the source and destination:

rsync -ahv root@ ~

You can use the file browser to look at what’s stored in your share.

Note: I followed the first two parts of How to create your own private DropBox with WD MyCloud to set a shared directory and the SSH daemon on the WD My Cloud. Later steps that in that document that show how to set up an rsync daemon do not work for me. It looks as though WD has removed the ability to modify the software using apt.

Here’s a knowledge base article on using rsync that I found helpful: Using rsync to Transfer and Synchronize Local and Remote Systems


About jimbelton

I'm a software developer, and a writer of both fiction and non-fiction, and I blog about movies, books, and philosophy. My interest in religious philosophy and the search for the truth inspires much of my writing.
This entry was posted in systems administration and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s