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
- f41yazAspirant
StephenB wrote: One thing to keep in mind that it is not enough to open putty - you need to log in as root into the NAS before you launch the client.
Begin by logging in to the NAS with putty.
First enterps aux | grep BaseName
You should get a long line that has /usr/bin/java in it, and also -Dapp=CrashPlanService
Assuming you see that, then enternetstat -an | grep ':424.'
You should see
tcp 0 0 0.0.0.0:4242 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:4243 0.0.0.0:* LISTEN
tcp 0 xxx.xxx.xxx.xxx:4242 yyy.yyy.yyy.yyy:zzzzz ESTABLISHED
xxx.xxx.xxx.xxx is the IP address of the NAS, yyy.yyy.yyy.yyy is the IP address of the PC. ZZZZZ is a port number (shows up as 60249 on my system, but probably varies).
BTW, did you install crashplan 3.0.3 (which was the current version when the guide was published) or version 3.2.1 (the current version).
I have factory reset the nas and am going to reinstall crashplan and do it all over again and see if it works this time.
which version shall i install, 3.03 or 3.2.1 ? - StephenBGuru - Experienced User3.2.1, since I don't think you can download the 3.0.3 client anymore.
- f41yazAspirant
StephenB wrote: 3.2.1, since I don't think you can download the 3.0.3 client anymore.
I have reinstalled crashplan.
I closed the CP desktop app and opened putty with forwarded port L4200 localhost:4243. entered 'root' and password.
than reopened CP desktop app and its connects to CP but NOT via readynas machine box.....but as normal on the windows machine.
when i enter 'ps aux | grep BaseName' i get the following:
root 3085 1.8 3.6 688192 37300 ? SNl 20:24 0:17 /usr/bin/java -Dfile.encoding=UTF-8 -Dapp=CrashPlanService -DappBaseName=CrashPlan -Xms20m -Xmx512m -Djava.net.preferIPv4Stack=true -Dsun.net.inetaddr.ttl=300 -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -classpath /usr/local/crashplan/lib/com.backup42.desktop.jar:/usr/local/crashplan/lang com.backup42.service.CPService
root 3513 0.0 0.0 3840 500 pts/0 S+ 20:40 0:00 grep BaseName
and when i enter 'netstat -an | grep ':424.'' i only get the following line:
tcp 0 0 127.0.0.1:4243 0.0.0.0:* LISTEN - StephenBGuru - Experienced UserThe good news is that crashplan appears to be running on the NAS. Though I am not sure why you don't see the other netstat lines
Did you remember to edit ui.properties in C:\Program Files (x86)\CrashPlan\conf Line 3 needs to say "servicePort=4200" - with no #
Also, it could be worth rebooting the PC and the NAS. - f41yazAspirant
StephenB wrote: The good news is that crashplan appears to be running on the NAS. Though I am not sure why you don't see the other netstat lines
Did you remember to edit ui.properties in C:\Program Files (x86)\CrashPlan\conf Line 3 needs to say "servicePort=4200" - with no #
Also, it could be worth rebooting the PC and the NAS.
yes done both.
ui.properties file reads:
#Fri Dec 09 09:50:22 CST 2005#serviceHost=127.0.0.1servicePort=4200
#pollerPeriod=1000 # 1 second
#connectRetryDelay=10000 # 10 seconds
#connectRetryAttempts=3
#showWelcome=true
#font.small=
#font.default=
#font.title=
#font.message.header=
#font.message.body=
#font.tab= - StephenBGuru - Experienced UserYour copy/paste is not keeping the lines separate.
If ui.properties is configured correctly, when you launch crashplan without putty running you will see the splash screen for quite a while. Then you will see "unable to connect to the backup engine, retry?" If you are not seeing that error, then we need to fix that before we move on. - f41yazAspirant
StephenB wrote: Your copy/paste is not keeping the lines separate.
If ui.properties is configured correctly, when you launch crashplan without putty running you will see the splash screen for quite a while. Then you will see "unable to connect to the backup engine, retry?" If you are not seeing that error, then we need to fix that before we move on.
i just rebooted pc and ans again and its saying "unable to connect to the backup engine, retry?".
even with putty open in background - f41yazAspirantITS WORKING !!! :d:d
the ui.properties file was not correct, the spaces inserted inbetween made a difference.
thank you soo much for alll your support.
thank you - StephenBGuru - Experienced UserGreat!
- jcoomansAspirantAs I am currently evaluating both Crashplan and SpiderOak, here are the procedures for getting both of them updated in the source lists. In the interest of full disclosure, I have not yet downloaded and tested the SpiderOak packages, and I am NOT an experienced Linux user. Just thought everyone might find this procedure useful for getting to the point where downloading both packages is simple:
1. Log in via SSH client. (I use PuTTY)
2. Edit /etc/apt/sources.list with either vi or nano
"vi /etc/apt/sources.list"
or
"nano /etc/apt/sources.list"
3. Add the following lines to the file:
"deb http://archive.debian.org/debian etch main"
"deb http://archive.debian.org/debian-backports etch-backports main non-free"
"deb http://apt.spideroak.com/debian/ stable non-free"
4. Save the file
5. Enter "apt-get update"
6. At the end of the update, you'll get the following error message (although the public key might be different):
W: GPG error: http://apt.spideroak.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5D654504F1A41D5E
W: You may want to run apt-get update to correct these problems
7. To correct this issue, you'll need to get the public key and install it. To do so, enter the following:
"gpg --keyserver http://apt.spideroak.com/spideroak-apt-pubkey.asc --recv-keys 5D654504F1A41D5E" (where the public key must match the one received above)
8. If successful, you will see the following:
gpg: requesting key F1A41D5E from http server apt.spideroak.com
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key F1A41D5E: public key "SpiderOak Apt Repository <apt@spideroak.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
9. Finally, add it by entering the following:
"gpg -a --export 5D654504F1A41D5E | sudo apt-key add -"
10. If successful, you will see the following:
"OK"
11. Now, you can update again:
"apt-get update"
12. A successful update will look like this (assuming you entered both Crashplan and Spideroak into your source.lists file):
Hit http://www.readynas.com 4.2.21/ Release.gpg
Get:1 http://apt.spideroak.com stable Release.gpg [189B]
Ign http://apt.spideroak.com stable/non-free Translation-en_US
Ign http://www.readynas.com 4.2.21/ Translation-en_US
Hit http://apt.spideroak.com stable Release
Hit http://www.readynas.com 4.2.21/ Release
Hit http://archive.debian.org etch Release.gpg
Ign http://archive.debian.org etch/main Translation-en_US
Hit http://archive.debian.org etch-backports Release.gpg
Ign http://apt.spideroak.com stable/non-free Packages/DiffIndex
Ign http://www.readynas.com 4.2.21/ Packages/DiffIndex
Hit http://apt.spideroak.com stable/non-free Packages
Ign http://archive.debian.org etch-backports/main Translation-en_US
Ign http://archive.debian.org etch-backports/non-free Translation-en_US
Hit http://archive.debian.org etch Release
Hit http://www.readynas.com 4.2.21/ Packages
Hit http://archive.debian.org etch-backports Release
Ign http://archive.debian.org etch/main Packages/DiffIndex
Ign http://archive.debian.org etch-backports/main Packages/DiffIndex
Ign http://archive.debian.org etch-backports/non-free Packages/DiffIndex
Hit http://archive.debian.org etch/main Packages
Hit http://archive.debian.org etch-backports/main Packages
Hit http://archive.debian.org etch-backports/non-free Packages
Fetched 189B in 2s (84B/s)
Reading package lists... Done
Related Content
NETGEAR Academy

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