More for me to remember (just in case the info disappears off the internet), here are the instructions I have found to get CrashPlan working as a headless service on the ReadyNAS x86 Platforms (Ultra 2 & above in Prosumer, all Business class – check to make sure). Note this is not an official resource and doesn’t represent NETGEAR – just me 🙂
Step 1. Installation
1. You need to do this via the CLI on the ReadyNAS so you need to install the Enable Root SSH addon – http://www.readynas.com/download/addons/x86/4.2/EnableRootSSH_1.0-x86.bin Complete installation by rebooting your ReadyNAS.
2. You will need to get a ssh client for your desktop/laptop, Mac/Linux can use the Terminal, here is one for windows (putty) – http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe, nothing to install, just download and place on your desktop or somewhere you can find it.
3. Open putty and SSH into your ReadyNAS, enter the IP address and when it prompts for username enter “root” and then your normal raidar/frontpage “password”.
4. Once logged onto your ReadyNAS as “root” your ready to get the the software setup. Keep in mind that when you are running as root, you have elevated priviliges and you can do anything you want, including messing things up, so go slow and take your time
First thing we need to do is edit the sources.list, we are going to use vi which is not a friendly editor but is installed on any base *nix system and in this case will get the job done. Lets edit the file, at the prompt – vi /etc/apt/sources.list, arrow down to the last line and then arrow over to the last letter and hit the “a” button for append and then hit “enter” to get a new line and then paste:
deb http://archive.debian.org/debian-backports etch-backports main non-free
– To get out of vi and save the file, hit ESC, then hit the “Shift” & “:” keys at same time – this will get you the colon prompt at the bottom, then to save and exit enter “x”, if you made a mistake and you do not want to save your work at the colon enter “q!” and that will quit without saving any changes. Once you exit and save your sources list should look like this, “more /etc/apt/sources.list”
5. Now we need to update our package list and install Java.
– enter “apt-get update”
– Now we need to modify configuration dialog selection so we can accept the java Terms and conditions.
– enter “dpkg-reconfigure debconf”
This will ask you to select a dialong frontend, select option 1 – Dialog, then it will ask you for the level, select option 3 – Medium.
– Now lets install java, enter “apt-get install sun-java6-jre”, it will download the package and start to install it where it will ask for you to accept the terms and conditions, select yes and complete the installation.
– Modify the deb configuration and change it back, enter “dpkg-reconfigure debconf”
This will ask you to select a dialong frontend, select option 6 – Noninteractive, then it will ask you for the level, select option 3 – Medium (not sure if this was the default).
6. Now we can install Crashplan.
– Download the latest linux crashplan version
Here is the main download page, just make sure you get the latest version (current as of this post is 3.2) http://www.crashplan.com/consumer/download.html?os=Linux, this will download and place this in your root directory.
7. Once the download has completed lets extract the files which are tarred and zipped.
enter “tar -xvf CrashPlan_3.2_Linux.tgz” or whichever version you downloaded, this will extract all of the files and place them in a folder called “CrashPlan-install”.
enter “cd “CrashPlan-install” and then run the installer, enter “./install.sh”, this will start the installer and ask for you to accept the terms and conditions and ask questions where to install etc..You can accept the defaults for most, however when it prompts you for the default crashplan backup directory, you can go with the default or provide a directory or share that you have already established for that purpose, e.g., “/crash-backup” whatever your share that you created without any slashes, this actual is a pointer to “crash-backup -> /c/crashplan-backup”
Here are the questions, most you accept the defaults, in this case I chose to specify a different Directory –
Do you accept and agree to be bound by the EULA? (yes/no) yes
What directory do you wish to install CrashPlan to? [/usr/local/crashplan]
What directory do you wish to link the CrashPlan executable to? [/usr/local/bin]
What directory do you wish to store backups in? [/usr/local/var/crashplan] /crash-backup
What directory contains your SYSV init scripts? [/etc/init.d]
What directory contains your runlevel init links? [/etc/rc2.d]
CrashPlan will install to: /usr/local/crashplan
And put links to binaries in: /usr/local/bin
And store datas in: /crash-backup
Your init.d dir is: /etc/init.d
Your current runlevel directory is: /etc/rc2.d
Is this correct? (y/n) [y] y
CrashPlan is now installed, but not fully configured.
*Note while configuring the Crashplan client -the client will show your shares twice – as links (with an arrow as part of the icon)and under the “C” folder. It won’t back up the links, you need to select the folders under the “C” folder. If you try the other way, the backup “succeeds”, but doesn’t back anything up.
Step 2. Configuration
These instructions are based on those available on CrashPlan’s support site here.
2. Before doing anything else, exit the CrashPlan client if it is running, then edit the ui.properties file located in one of these folders:
Linux (if installed as root): /usr/local/crashplan/conf/ui.properties
Solaris (if installed as root): /opt/sfw/crashplan/conf/ui.properties
Windows: C:Program FilesCrashPlanconfui.properties
and ensure the following line:
is modified to look like this (if not there at all, add it), then save the file:
3. As I’m configuring this on a Mac I’ll focus on using it. If on Windows, I suggest going to CrashPlan’s support site as they lead you through using PuTTY to do this next step.
Open Terminal, and issue the following command – note the “18.104.22.168” IP addess of this line should be replaced with the IP address of your ReadyNAS:
ssh -L 4200:localhost:4243 email@example.com
It will ask you for the password – this is your ReadyNAS admin password. Once done, this will tell the CrashPlan client on your machine to connect securely through to your ReadyNAS CrashPlan installation, so you can then configure the final setup of your ReadyNAS CrashPlan Installation.
4. Open the CrashPlan app on your client and setup CrashPlan as per their instructions on their site.
5. Once setup, close the CrashPlan client app, close your terminal window and edit the ui.properties file again to remove the line you added or modified, saving when done.
6. You can then load up your client and set it up, and as with any other clients you also install the CrashPlan app on to (and either login with same account, or using your CrashPlan “Friend Code”) you will then be able to see your ReadyNAS as a backup destination (under “Computers”). If you have more than one ReadyNAS that you install this on to, you can also setup backups to run between them.