In Part 1, I described using rsync to back up files from a NETGEAR ReadyNAS NV+ that I am retiring to a Synology DS109+. In Part 2, I showed how to set up rsync between the DS109+ and a QNAP TS-109 Pro. This time, I'll show you how to use a Western Digital My Book World Edition II (white bar) as an rsync target.
The MBWEII doesn't support networked backups in its out-of-the-box configuration, nor does it support scheduled backups to attached USB drives. But it turns out that if you're not afraid of doing some Linux config file creation and editing, the MBWEII can become a relatively inexpensive rsync target.
MBEWII SSH & rsync
I was pleasantly surprised to find an SSH root access enable on the MBWEII (Figure 1). But if you have an older "blue ring" My Book World, you should be able to use it, too, although it will require a bit more work. Hacking WD MyBook World Ed has plenty of information that describes how to get SSH root access added. The simplest method is to visit Martin Hinner's site.
NOTE: If you have firmware earlier than 1.00.14, upgrade your MBWE or MBWEII "white bar/light" and you'll find the SSH Access / Root Access enable at the top of the System > Advanced page. Unfortunately, there isn't an equivalent firmware for the original "blue ring" MBWEs.
Figure 1: My Book World Edition II with SSH Enable
With SSH enabled, just fire up an SSH client such as PuTTY and login as root with the password welc0me. You can certainly get the job done with PuTTY and the vi editor that's installed on the MBWEII. But I found WinSCP much handier for file browsing and file editing. WinSCP even includes a copy of PuTTY and lets you open it with a simple Control+P.
With WinSCP, you can just browse to a file, double click on it and edit. WinSCP automatically takes care of downloading the file for edit and uploading the edited file. Figure 2 shows the MBWEII's root (/) directory in the right pane and a directory on my local machine on the left.
Figure 2: WinSCP accessing MBWEII
The first thing that I did once logged in was to see if rsync was available by just typing rsync at the command prompt. When I saw the rsync help shown in Figure 3 (because I hadn't entered a valid rsync command), I knew I was in business. Now I just had to configure the MBWEII so that rsync was started as a daemon at boot time and provide a proper rsyncd.conf file.
Figure 3: rsync works!
Related Items:Fun With Rsync And More On The WD My Book Live
How To Back Up NAS to NAS - Part 4
How To Back Up NAS to NAS - Part 2
How To Back Up NAS to NAS - Part 1
Slideshow: Western Digital My Book World Edition II (white bar)