NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bishoptf
Feb 12, 2012Aspirant
Crashplan for Dummies, aka Step by Step :)
I have just went through this and have seen several folks post that they wish there was an all inclusive guide, I just bought a Pro 2 and so far I am pleased with what I see under the hood (looks like debian to me, kernel 2.6.37) I'm a *nix guy so I thought I would try to make an all inclusive step-by-step to help anyone that might want to try and install crashplan. So here goes, the normal warning goes here - There are no warranties implied or otherwise, DO THIS AT YOUR OWN RISK! If you find any thing that needs to be updated or doesn't make sense please post and let me know...
I am not the only one to post how to do this see here - http://www.readynas.com/forum/viewtopic.php?f=61&t=18139&start=15#p297737
and here http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
Steps for x86 ReadyNas Only:
Old way,still works but uses java 6, which is out of date:
Updated JAVA install, credit goes to InterClaw :)
The full instructions can be found here - http://minimserver.com/ejre-installer.html I will try to list just the steps for x86 ReadyNas:
1. Go to Oracle and down load the latest embeeded java version l@@k for this version - x86 Linux Small Footprint – Headless - http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html
*Note you will have to accept Oracles Terms and Conditions and create an account to download the file
2. Download file and copy the java file to /c/backup/ on your ReadyNas
3. Download the EJRE Readynas Addon see the link above for the full instructions, the addon can be found here - http://minimserver.com/downloads/EJREInstaller-0.10-readynas-x86.bin
4. Install EJRE Addon and this will install the java version that you placed in /c/backup/
5. Verify that java is working, time to jump to the command line to finish the installation. 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.
6. You will need to get a ssh client for your desktop/laptop, here is one for winblows (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.
7. 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". Once logged in verify java operation by entering the following :
8. Now we can install Crashplan.
- Download the latest linux crashplan version
enter "wget the latest version that is listed on crashplan for linux, see below"
Here is the main download page, just make sure you get the latest version -
http://www.crashplan.com/consumer/download.html?os=Linux, this will download andplace this in your
root directory.
9. Once the diownload has completed lets extract the files which are tarred and zipped.
enter "tar -xvf CrashPlan_3.0.3_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
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 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]
Your selections:
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
10. Configure crashplan on the readynas, in order to do this you need to download and install crashplan on a local PC,
using linux, winblows or Mac - http://www.crashplan.com/consumer/download.html once that has been
done we need to tunnel from the PC to the readynas, the already have this detailed on the crashplan site
called a headless install - http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
*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. Thanks to StephenB for this update!
Once the configuration is complete you should be good to go.. :)
I'm sure I have left something out or not fully explained something, if so let me knoiw and I will update the posting..
Good Luck :)
I am not the only one to post how to do this see here - http://www.readynas.com/forum/viewtopic.php?f=61&t=18139&start=15#p297737
and here http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
Steps for x86 ReadyNas Only:
Old way,still works but uses java 6, which is out of date:
1. See Step one below
2. See Step two below
3. See Step three below
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 "shift:" 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" -
deb http://www.readynas.com/packages 4.2.19/
deb http://archive.debian.org/debian etch main
deb http://archive.debian.org/debian-backports etch-backports main non-free
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).
Updated JAVA install, credit goes to InterClaw :)
The full instructions can be found here - http://minimserver.com/ejre-installer.html I will try to list just the steps for x86 ReadyNas:
1. Go to Oracle and down load the latest embeeded java version l@@k for this version - x86 Linux Small Footprint – Headless - http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html
*Note you will have to accept Oracles Terms and Conditions and create an account to download the file
2. Download file and copy the java file to /c/backup/ on your ReadyNas
3. Download the EJRE Readynas Addon see the link above for the full instructions, the addon can be found here - http://minimserver.com/downloads/EJREInstaller-0.10-readynas-x86.bin
4. Install EJRE Addon and this will install the java version that you placed in /c/backup/
5. Verify that java is working, time to jump to the command line to finish the installation. 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.
6. You will need to get a ssh client for your desktop/laptop, here is one for winblows (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.
7. 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". Once logged in verify java operation by entering the following :
java -version
8. Now we can install Crashplan.
- Download the latest linux crashplan version
enter "wget the latest version that is listed on crashplan for linux, see below"
Here is the main download page, just make sure you get the latest version -
http://www.crashplan.com/consumer/download.html?os=Linux, this will download andplace this in your
root directory.
9. Once the diownload has completed lets extract the files which are tarred and zipped.
enter "tar -xvf CrashPlan_3.0.3_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
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 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]
Your selections:
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
10. Configure crashplan on the readynas, in order to do this you need to download and install crashplan on a local PC,
using linux, winblows or Mac - http://www.crashplan.com/consumer/download.html once that has been
done we need to tunnel from the PC to the readynas, the already have this detailed on the crashplan site
called a headless install - http://support.crashplan.com/doku.php/how_to/configure_a_headless_client
*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. Thanks to StephenB for this update!
Once the configuration is complete you should be good to go.. :)
I'm sure I have left something out or not fully explained something, if so let me knoiw and I will update the posting..
Good Luck :)
306 Replies
Replies have been turned off for this discussion
- A couple of questions before I install this...
Once installed, how do I start or stop it from running? And how do I uninstall the software if I have problems with the ReadyNAS hardware before contacting NetGear? - StephenBGuru - Experienced UserYou can shutdown the service on the NAS via the windows gui. It will start up automatically when you restart the NAS.
I have not attempted to uninstall it. - autchirionAspirantI get an error at step 3.
after "apt-get install sun-java6-jre" I get an error with the dependency tree.
sun-java6-jre: Depends java-common (>=0.24) but 0.22 is to be installed
Depends: sun-java6-bin (=6-07-3~bpo40+1) but it is not installable
E: Broken packages
what do I have to do now? (RND 2000)
NVM, I got my mistake, this is for a Pro, but I´m just on a duo... maybe someone can help me anyways! :-) - Sounds like you have a version 1 Duo. If that is the case, it doesn't support Java. So, you wouldn't be able to run Crashplan.
Here is a link to tell the differences between v1 and v2...
http://www.rnasguide.com/2012/01/09/how ... -or-nv-v2/ - InterClawAspirantHow do you go about updating CrashPlan to a newer version? I'm running 3.4.1 now and it seems the latest version is 3.5.2.
Also, how do you update Java?
I'm a Linux novice btw. :) Thanks in advance! - rnas_newbieAspirant**please do not use this as the way the client 'should' be updated, it's purely a suggestion & how it worked for me**
InterClaw wrote: How do you go about updating CrashPlan to a newer version? I'm running 3.4.1 now and it seems the latest version is 3.5.2.
Also, how do you update Java?
I'm a Linux novice btw. :) Thanks in advance!
Here's how I updated mine, from 3.4.1->3.5.2,
This is purely for info as I'm unsure what I'm doing! Which is pretty dangerous when your data could be at risk...!!!
After attempting to run the uninstall scrips as recommended on Crashplans website, I kept on receiving error messages stating it was already installed when I tried to instal the new version.
here's where i found a possible solution.
http://support.crashplan.com/doku.php/recipe/reinstall
after reading up on the internet, I deleted the directory ' /var/lib/crashplan ' which still had files in it then I was then able to install the new version. All been working fine now for over a week.
**read the article though, as it warns that crashplan keeps some information in this folder relating to the computer it's install on**
PS-thanks to the original posters for the step-by-step guide for the actual installation, it's greatly appreciated.
PPS-I have no idea how to update java, I've found various guides but I've been unsuccessful so far on my NVX, as i could not afford to brick my Ultra. - InterClawAspirant
rnas_newbie wrote: /var/lib/crashplan
Interesting. When you started up the new version of CrashPlan had you lost your settings? Your/friends' inbound computers? If so, after re-inviting them could you reuse the backup data?
Also, has anybody tried this?
http://minimserver.com/ejre-installer.html - rnas_newbieAspirant
InterClaw wrote: rnas_newbie wrote: /var/lib/crashplan
Interesting. When you started up the new version of CrashPlan had you lost your settings? Your/friends' inbound computers? If so, after re-inviting them could you reuse the backup data?
Although I cannot answer your question directly see below, as my set-up is far less complicated, as I back directly to Crashplan, no additional complication of friends machines.
+ I'm unsure of the full behaviours of crashplans adoption process if you have deleted files etc...
I've just completed the following;
Deleted /var/lib/crashplan & and the installation crashplan directory (purely out of personal choice; to ensure I've got the correct dir, I use rm & the dirname... then once I receive the error it's a directory etc, I change to use the command, rm -rf ....)
The results,
After installing the latest client on my ultra, when I opened crashplan, I had to ADOPT the previous machine, eg my readynas ultra. That was certainly different to the last time, as I'm sure it just worked?
It's currently performing a block level sync,
when it's finished - I'll let you know if it has removed any deleted files. - InterClawAspirant
rnas_newbie wrote: I'll let you know if it has removed any deleted files.
I don't think we're talking about the same thing here, but as you said we're not using it the same way. :) Thanks for letting me know how it goes either way though! - rnas_newbieAspirantre the line earlier regarding deletion of files -
CrashPlan has just finished the block level sync to confirm the files are inplace on their cloud server, along with files that were orphaned.
Basically, on my Ultra theres a folder I put files that I no longer need as the originals on dvd's etc. They are deleted from the nas once they have been backed-up to the crashplan cloud server. They stay available to restore - as crashplan do not delete files unless you set your preferences to.
The adoption process is documented on crashplan and has to be done a certain way, or you have to start the backups from scratch. Hence I needed to test this scenario before i committed loads of data that will take an age to upload over the internet. Unfortunately, I cannot state what will happen under your set-up? I hope someone does chip in with sufficent experience & linuxskills informingus how to upgrade the client :)
personally, I just need to sort out if/howto update java?
I took a link you posted on that, it looked promising, but way outside my comfort zone as i'm a linux newbie as well.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!