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
- InterClawAspirantI wouldn't recommend just relying on CrashPlan Central for your one copy of your files, but that just me I guess. :)
Anyway...
I'm not concerned about deleted versions of files on CrashPlan Central etc. CrashPlan Central is not my primary backup destination in my setup you see - my NAS is. CrashPlan Central is the backup of the backup really. Let me explain...
My setup is that have have a number of computers, both my own and family members', using free CrashPlan to back up to my NAS. Then the NAS backs up its own files (including those computer backups actually) to CrashPlan Central.
The benefits of this setup are:
+ Speedy backups to the NAS instead of CrashPlan Central
+ Just one license needed (on the NAS)
+ 3 copies of client computer data (just 2 for NAS only data though)
I was wondering if when you removed that folder (/var/lib/crashplan) you would also lose the connection with the client machines or if they would just be able to automagically continue backing up to you. But it doesn't matter that much. Not too much of a hassle to set it up again (total of 5 computers). They should at least be able to recognize their data on the NAS properly and not having to start from scratch since the client computers don't change their GUID.
So even when you removed /var/lib/crashplan your NAS retained its GUID and didn't have to upload everything again to CrashPlan Central? CrashPlan automatically asked if you wanted to "adopt" the previous GUID? Was it during the installation process or when you connected the frontend to the headless install later? Do you have a link to the documentation on this? Was it this?
http://www.crashplan.com/enterprise/sup ... a_computer - StephenBGuru - Experienced User
Not just you. I think even Crashplan suggests using multiple sites (for instance their "friend backup").InterClaw wrote: I wouldn't recommend just relying on CrashPlan Central for your one copy of your files, but that just me I guess. :)
I've had good luck with Crashplan (I've been running it for about a year not). But I wouldn't rely exclusively on cloud backup from any provider. Personally I think there will be a shakeout at some point in the market, and it isn't clear to me what companies will survive it. Also, there are potentially glitches in these services.
So my primary backup for my NAS is my older 2 ReadyNAS. I am using Crashplan for disaster recovery. - rnas_newbieAspirant
InterClaw wrote: I wouldn't recommend just relying on CrashPlan Central for your one copy of your files, but that just me I guess. :)
So even when you removed /var/lib/crashplan your NAS retained its GUID and didn't have to upload everything again to CrashPlan Central? CrashPlan automatically asked if you wanted to "adopt" the previous GUID? Was it during the installation process or when you connected the frontend to the headless install later? Do you have a link to the documentation on this? Was it this?
http://www.crashplan.com/enterprise/sup ... a_computer
from my experience
after deleting that dir i was able to install crashplan over the existing install
in my last example i did go one step further and also deleted where the program was installed - just so i was confident on the behaviour if i had to do this at a later stage.
installation on the headless server was the same process per the sep-by-step guide
it was indeed when i connected from a desktop to the headless nas, it asked if i was an existing user/password etc, that's when it prompted if i wanted to adopt the a previous 'computer' from a list, so it must pick up to what you refer to as the guid as part of this adoption process.
It then showed me the set-up I had previously configured + i did not have to reinstall all over again to crashplan (as a block level sync was performed) all files where there :D
(edit -i'm unsure how it handles scenarios such as yours which include local computer backups)
here's the link i read;
http://support.crashplan.com/doku.php/r ... r_computer
ps- thanks for sharing your setup, very nice. It's got me thinking of doing something similar as i'm really impressed with CrashPlan working on the nas in first place.
pps - I also agree with you both about not relying on cloud service as a single backup, and the follow up thoughts if will be a shake-out of the number of suppliers in the near future.
pps- ***if there is a proper way to upgrade the client +if java needs to be updated at a later stage? I'd appreciate if someone could chip in*** - AmienAspirantThanks for this tutorial. Works fine.
I have a small question. Crashplan is now linked to my readynas. I can choose any directory on my nas to backup to CrashPlan.
But is it possible to choose a directory on my laptop? Or would i need the CrashPlan Family for this?
Otherwise an option would be to backup the TimeMachine location to CrashPlan. Anyone doing this? - StephenBGuru - Experienced UserYou'd need CrashPlan family to back up stuff directly from the laptop. You could copy the directory onto the NAS.
Backing up TimeMachine could possibly also work, though since I don't have any macs I don't know for sure. - InterClawAspirant
rnas_newbie wrote: here's the link i read;
http://support.crashplan.com/doku.php/r ... r_computer
Thanks for this. I guess whenever you use your account when installing on a new machine (or reinstall) you get the question "is this really new or is it one of these old ones you've recently used?", i.e. adopt or not. - rnas_newbieAspirant
InterClaw wrote: rnas_newbie wrote: here's the link i read;
http://support.crashplan.com/doku.php/r ... r_computer
Thanks for this. I guess whenever you use your account when installing on a new machine (or reinstall) you get the question "is this really new or is it one of these old ones you've recently used?", i.e. adopt or not.
I suppose it is, there are subtle differences on your set-up as your using local clients and using the free version etc, (I admit I'm still on a trial version and only using their cloud service)
Here's some additional info on the behaviour of the local desktop program once everything was reinstalled on the NAS etc.
Originally when I deleted the crashplan folder and the additional directory on the NAS and tried to access crashplan from my pc which already had the client installed - it did force me log on & make me go through the adoption process.
But, to test further: I've just uninstalled the windows desktop client (incl the crashplan folder under program files) and it opened crashplan straightaway and did not ask for my details, it automatically stated 'Adoption Complete!'
I accept there could have been a setting or so lingering in the registry.
edit - (also to note I changed the service port setting in the ui.properties folder) - InterClawAspirant
rnas_newbie wrote: I accept there could have been a setting or so lingering in the registry.
It might be it keeps one's %AppData%\CrashPlan folder around after uninstalling. - InterClawAspirantOK, I finally caved and went ahead with updating both Java and CrashPlan. I had a golden opportunity to test it out since I still have my old NAS around, now filled to the brim (96% full), as a backup in case anything and everything went wrong on the Pro 6.
For me things went exceptionally well, so therefore I thought I'd share my experiences and how I did it here in this thread. So if you followed this thread originally when you installed CrashPlan and if you have a setup similar to mine then here's how you can update. Of course, I'm not guaranteeing you won't run into problems. Bear in mind I'm a Linux novice and all that.
1. Stop the CrashPlan engine
- Go into /usr/local/crashplan/bin and run "./CrashPlanEngine stop"
2. Prepare the new CrashPlan version
- Delete the old CrashPlan-install folder in /root (the folder you end up in when logging in) with "rm -r CrashPlan-install".
- Downloaded the new version with "wget http://download.crashplan.com/installs/linux/install/CrashPlan/CrashPlan_3.5.2_Linux.tgz".
- Extract with "tar -xvf CrashPlan_3.5.2_Linux.tgz".
3. Uninstall old CrashPlan version
- Go into /root/CrashPlan-install and run "./uninstall.sh -i /usr/local/crashplan". It says something about you losing all settings, but not backups. Don't worry, read on...
4. Update Java
- Here's where I made things REALLY easy for myself by following this procedure I found before: http://minimserver.com/ejre-installer.html. I'm not gonna reiterate everything because it's well written there.
- Just use the links provided on that site to get the latest Java package intended for this type of system, for me it was "ejre-7u10-fcs-b18-linux-i586-headless-28_nov_2012.tar.gz", i.e. Java 7 Update 10 was the latest version. I think it's 32-bit (I think that's all we get as embedded).
- Place it in /c/backup.
- Get the add-on and just install it via FrontView.
- Check the Java version by running "java -version". Mine returns:java version "1.7.0_10"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_10-b18, headless)
Java HotSpot(TM) Embedded Client VM (build 23.6-b04, mixed mode)
5. Install new CrashPlan version
- Run "./install.sh" and install like you did before.
6. Connect to the headless install
- All I needed to do now was select "existing user" and log in. CrashPlan had retained _all_ my settings, including the NAS's own GUID, the NAS's backup code, backup settings, inbound client computers, and the license key. I attribute this to not having to delete the /var/lib/crashplan folder. Towards CrashPlan Central it automatically started "Synchronizing block information", which didn't take that long and after that was done everything was back to normal.
- Double-click the CrashPlan logo to open the console and enter "version" to verify the engine is running version 3.5.2.
Good luck!
Note:
Between steps 4 and 5 I actually tried uninstalling the EJRE add-on it to see what would happen. You get a question if you want to keep your settings or not. I selected not to, trying to restore to how it was before. I reran "java -version", but didn't get anything. It might be that this way of installing Java breaks the old way that Java 6 was installed, so keep this in mind. I think you're supposed to be able to have multiple versions installed and switch between them though, but how I sure couldn't tell you. I don't care though since I'd much more prefer to just have one version even if there might be old crap left from the Java 6 install from before. - shadow11AspirantIs there a reason this isn't being made into an addon? Seems like a great candidate for a community addon.
Related Content
NETGEAR Academy

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