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
- ghostlobsterAspirant
mdgm wrote: You last did a factory reset on 6.0.3:
[2013/05/06 14:35:01] Factory default initiated due to new disks (no RAID, no partitions)!
[2013/05/06 14:35:21] Defaulting to X-RAID2 mode, RAID level 5
[2013/05/06 14:35:26] Factory default initiated on ReadyNASOS 6.0.3.
[2013/05/06 13:34:09] Updated from ReadyNASOS 6.0.3 to 6.0.4.
[2013/05/09 04:50:39] Updated from ReadyNASOS 6.0.4 to 6.0.5.
[2013/05/21 07:26:22] Updated from ReadyNASOS 6.0.5 to 6.0.6.
[2013/07/13 09:59:50] Updated from ReadyNASOS 6.0.6 to 6.0.8.
[2013/11/14 18:15:04] Updated from ReadyNASOS 6.0.8 to 6.1.4.
[2014/01/12 16:47:05] Updated from ReadyNASOS 6.1.4 to 6.1.5.
[2014/03/01 08:27:26] Updated from ReadyNASOS 6.1.5 to 6.1.6.
[2014/08/03 10:13:36] Updated from ReadyNASOS 6.1.6 (1391111179) to 6.1.8 (1398980083).
[2014/09/27 12:22:31] Updated from ReadyNASOS 6.1.8 (1398980083) to 6.1.9 (1409791183).
[2014/11/24 18:28:51] Updated from ReadyNASOS 6.1.9 () to 6.2.0 (ReadyNASOS).
I think it would be worth your while to backup your data, do a factory reset and restore your data from backup
Seriously???? That factory reset was performed when the NAS was initially installed. Are you saying that a factory reset is required now? That would be a weekend long project, rebuilding the RAID, restoring backups, and now that we're using local authentication rather than AD integration, and there is no bulk user import facility from a .csv file (that I could find) manually entering all of the users. If I wanted those headaches I would have stuck with the Windows server we had in place.
There has to be a better option other than wipe/restart. There was nothing else in those logs top indicate why this is crashing on us? - mdgm-ntgrNETGEAR Employee RetiredWell I guess you could try e.g. 6.2.1-RC3 and see if that helps.
Crash plan must have been installed via SSH. It's possible you might need to enter some additional commands to get it to work.
The factory default is what I would recommend. If you don't want to do that you could perhaps try a defrag and maybe a balance and see if that helps.
When you tested with snapshots and bit-rot protection disabled did you test on a brand new share? - oshaeTutorThis may seem like a "duh" question. But have you tried completely uninstalling crashplan and java and starting fresh?
- mdgm-ntgrNETGEAR Employee RetiredThat is a good suggestion and something worth trying. Uninstall and purge those and see if installing them again works.
- ghostlobsterAspirantThanks for the efforts folks. The uninstall, purge, reinstall did not do it for me. So, I just did an uninstall, configured the PC that I have running as an SQL server to backup the network shares and will go with that. Doing a factory reset, data wipe, data restore is just not an option for this customer. We've got about 2TB of data to work with here and it would just be too time consuming.
For right now, we'll live with out local backups until the online backups populate over the next few weeks using the PC slave method. I've adopted the existing 600+ GB backup, but I'm not certain that will work properly given the path difference. We'll see tonight. - ghostlobsterAspirantJust an FYI, in case anyone else runs into a similar issue. I was seeing the same behavior with this backup on the Windows box...the service kept recycling. I changed the JVM size from 1GB to 1.5 GB, and it's been up and running ever since. Basically, it was out of memory. I dug through the service logs, and there it was, plain as day, Out of Memory. Should have seen it before, but honestly, I didn't know where to begin looking.
So...if your service is restarting and your backups are not completing, and you can't find any reason, check your service log file for an out of Memory condition. If you're getting it, change the java launch parameters to allocate more RAM. Go in 500MB increments until you find the sweet spot. - sdouekGuideTHIS IS FOR MY READYNAS PRO BUSINESS
Just an update I am running ejre-7u75-fcs-b13-linux-i586-headless-18_dec_2014.tar.gz using the add-on given to install it from the backup directory.
I upgraded to 8 GB of ram (2x4gb).
As far as I can tell you can't set the java memory usage beyond 3072 after that Crashplan crashes it has something to do with installing a 64 bit version of the ejre headless client.
To update the memory of the memory used by crashplan just open crashplan desktop make sure it is connected to your nas crashplanengine. Double click the crashplan plan logo on the upper right hand of the crashplan desktop and type the following:
java mx [value] [restart]
Where value should not go beyond 3072 and the maximum amount of ram you have installed.
If you are still unable to get crashplan to stay up or if it keeps restarting then you might want to change the settings of your backup in this order. Do these steps in increments as your backup set may not be as large as mine or have as many files as I do.
1. Frequency and Versions of backups set to 6,8,12 hours or every day.
2. Advanced Settings. change data duplication to mininmal.
3. Advanced Settings. uncheck watch file systems in real time. If you do option 3 the backups will only discover new files after the "verify selection every" completes.
I am currently backing up 3.7 TB between two backup sets. I started with one set only backing up important data and then the second set adding directories slowly. I did this because I too was suffering from restart.logs and once I made those changes above I have not seen another restart.log file. At some point I will tweak the crashplan setttings trying to get the best of all worlds.
Notes:
1) You may have to run Recalibrate on your fan in frontview every time you re-boot.
2) When you install ejre-7u75-fcs-b13-linux-i586-headless-18_dec_2014.tar.gz. In Frontview your add-ons:installed will take about 3-6 minutes to fully respond. - sdouekGuideJust an update when I updated my BIOS from 10/03/2008 FLAME6-MB V1.6 to 07/26/2010 FLAME6-MB V2.0. The add-on screen became much more responsive.
You can check you Bios Version by downloading your logs and looking in the bios_ver.log file to see if you have the latest one.
The link to this is here http://www.readynas.com/forum/viewtopic.php?p=387035#p387035
This for the following.
That v0.5 add-on provides these BIOS versions:
Ultra2/ReadyNAS-ProUltra2 (1102/v1.8)
Ultra4/ReadyNAS-NVX-V2 (0823/v1.1)
Ultra6/FLAME6-2 (0610/v1.1)
Pro(6)/FLAME6-MB (0726/v2.0) - felixvdAspirantI tried to install this on a RN104 and finally got it running with this manual: http://blog.andrewkoebbe.com/posts/2014/06/installing-crashplan-headless-on-a-readynas-102/
I did break my admin page somewhere during the tinkering, but I don't think it was related to crashplan. The resolution for that problem is in a separate thread I posted.
Cheers
edit: I don't know why, but transfers stop after the process is running for a while. I added "service crashplan restart" to crontab to restart the process every 2 hours, and that seems to work well enough. - tony359ApprenticeHi all,
I'm trying to install CrashPlan on my Pro 6.
I've followed the instructions, everything is ok till step 9. Everything installs, but when I check if the ReadyNAS is listening to port 4200, the answer is NO!Enterprise:/usr/local/crashplan/bin# ps aux | grep BaseName
root 4078 0.0 0.0 3840 504 pts/0 S+ 10:02 0:00 grep BaseNamenetstat -na | grep LISTEN | grep 42
does not produce any output.
I am not massively skilled with Linux but I reckon CrashPlan has not started. I tried stopping and starting the service, it does not give error messages but I cannot see on the list of services running.
Any help? Java is running.Enterprise:/usr/local/crashplan/bin# java -version
java version "1.8.0_33"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_33-b05, headless)
Java HotSpot(TM) Embedded Server VM (build 25.33-b05, mixed mode)
Enterprise:/usr/local/crashplan/bin#
Related Content
NETGEAR Academy

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