UPDATED 2014: How to setup CrashPlan Cloud Backup on a Synology NAS running DSM 5.0
I still have a Synology 1511+ NAS and I still think it's lovely. I recommend Synology NAS's but I recommend ones with an Intel processor as I feel the ARM versions are underpowered. I run Plex on my Synology and while I've had a few small issues, I love it also.
Back in 2012 I wrote a post on How to set up CrashPlan Cloud Backup headless on a Synology NAS - Backup Strategies. If you are running a 4.x version of the Synology DSM software, read that post.
Since then however, Synology has upgraded it's main OS to "DSM 5.0" or greater and Java 7 can run on Synology. I've had some hassle getting my newly upgraded Synology running CrashPlan so here's a new writeup for DSM 5.0+ for 2014.
Remember, any good backup strategy follows the Backup Rule of Three.
- 3 copies of anything you care about - Two isn't enough if it's important.
- 2 different formats - Example: Dropbox+DVDs or Hard Drive+Memory Stick or CD+Crash Plan, or more
- 1 off-site backup - If the house burns down, how will you get your memories back?
Step by Step: How to run CrashPlan on your Synology NAS with DSM 5.0
This gentleman at PCLoadLetter has prepared excellent packages that make it MUCH easier than before to get CrashPlan running on your Synology. However, his instructions assume a some technical ability and also require reading a LOT and visiting several pages within his site. It took me about an hour to really understand what was being said. Here's my simplified version of How To get CrashPlan on your Synology.
1. TURN ON THE "USER HOMES SERVICE" ON YOUR SYNOLOGY
Log in to your Synology from a web browser. Mine is http://server. Go to the Control Panel, then User, then User Home and click "Enable User Home Service." This will give the future "crashplan" user a "place to live."
2. ADD HTTP://PACKAGES.PCLOADLETTER.CO.UK AS A NEW REPOSITORY IN THE SYNOLOGY PACKAGE MANAGER
On your Synology, from the web browser, go to the Package Center, then Settings, then Package Sources. Add http://packages.pcloadletter.co.uk as a new repository. I named it "PC Load Letter" but it doesn't matter.
3. ADD THE JAVA MANAGER
In the Package Manager, type Java, and install the Java Manager.
On your main computer (not the Synology) head over to www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html and download a "tar.gz" of Java. Get the right one for your system. I have an Intel x86 so I got the "i586" package.
Today (June 11th, 2014) I downloaded jdk-7u60-linux-i586.tar.gz but yours may have a newer number like "7u61." Now put that Java archive in a folder. Don't lose it.
Back on the Synology, go to the Java Manager and Install Java. From this dialog select the file you've just downloaded. It actually tells you all this on the dialog, too.
When you're done, Java Manager will look something like this.
4. INSTALL THE CRASHPLAN PACKAGE ON YOUR SYNOLOGY. STOP IT AND RESTART IT.
Staying in the Package Manager, go to Community, and search for Crash. Community is where "Other Sources" feeds into.
Once it's installed, wait a minute to two for it to calm down, then stop it, and start it again. It should look like this.
Click on View Log to confirm it's running.
Your log will have less stuff in it if you haven't configured CrashPlan from a client yet.
Remember this installation is *headless* so you'll need to connect to the Synology from a CrashPlan "client."
5. INSTALL THE CRASHPLAN CLIENT ON ONE OF YOUR MAIN COMPUTERS.
Go download and install the right CrashPlan client for you. After you've installed it, you'll need to POINT the client to your Synology.
You need to edit the "C:\Program Files\CrashPlan\conf\ui.properties" text file and put in the IP address of your Synology. My Synology is called "SERVER" so I opened a command prompt and typed "ping server" and was told its address is 192.168.1.18. I needed to run my notepad as administrator to edit this file.
- NOTE: This is a Linefeeds only Linux text file so you'll want to use Notepad2 or something OTHER than Notepad so you don't corrupt this file. Make a copy.
6. HOW DO YOU KNOW IT IS WORKING?
Run CrashPlan on your main computer to ensure it's successfully talking to your Synology.
- You should see your Synology's name on the Settings Dialog
- You should see CrashPlan Central in your Destinations if you have a CrashPlan subscription
- You can select your files that exist on the Synology from the CrashPlan application on your main computer. Remember this CrashPlan client talks to the headless service running on your Synology.
- You will likely have to sign into the CrashPlan client. When I did, even though I'd uninstalled and re-installed CrashPlan, it recognized I'd backed up before and it re-sync'ed over an hour. I didn't have to back everything up again!
The initial backup will likely take a LONG time so be patient - like for days or weeks. I am choosing not to backup super-large files like DVD backups, 60 gig VMs and other things. My #1 concern is family photos and personal files.
You can get CrashPlan+ and do one computer, or get CrashPlan+ Family and do up to 10 computers.
If I've made any mistakes here, do let me know in the comments and I'll update the post!
UPDATE July 2015: If you are having any issues with upgrades and CrashPlan 4.3, there may be some manual work you'll need to do. http://chrisnelson.ca/2015/07/02/fixing-crashplan-4-3-0-on-synology/
- The Computer Backup Rule of Three
- A basic non-cloud-based personal backup strategy
- On Losing Data and a Family Backup Strategy
- Windows 8, Step 0 - Turn on continuous backups via File History
- Automatically Backup your Gmail account on a schedule with GMVault and Windows Task Scheduler
- Give Grandpa and Grandma the gift of an off-site backup of your photos
Sponsor: A big welcome to my friends at Octopus Deploy. They are sponsoring the blog feed this week. Using NuGet and powerful conventions, Octopus Deploy makes it easy to automate releases of ASP.NET applications and Windows Services. Say goodbye to remote desktop and start automating today!
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
Do you think this will be workable on an ARM based synology?
I have a DS1513+ and have been thinking about an online backup plan as well.
Now you mentioned that you can select files that exist on the Synology from the CrashPlan application on your main computer, so does that mean that the Synology itself doesn’t count as an extra computer in the unlimited online backup plans? I'd imagine many folks with a NAS these days would have all the important files backed up in that box instead of individual devices.
Yes, Glacier is a good plan but it's also more expensive if you are storing over 1TB, depending on your region.
There are a couple things I think are worth pointing out:
1) If you already have CrashPlan installed "the old way", Step 0 should be "get rid of that." I went through the uninstall using the instructions from PC Load Letter, and it sounds like you did too. It works out well, and adopting your old backups is pretty straightforward and handy. With one exception...
2) If you are using a custom 448-bit encryption key, PERFORM A TEST WEB RESTORE to make sure you use the same key for your new backups. When you reinstall CrashPlan and adopt your previous backups, it will ask for your key before it starts backing up. It DOES NOT CHECK THE KEY to see if it matches what you've used previously. It just gives you a "your stuff may poof" warning, regardless of the key you put in. From there, if you use the same key from your previous install your archives will remain intact. If not, they all disappear.
Sorry for the caps, but it seems pretty easy to accidentally blast your archives and end up with a handful of sadness instead.
Do you know if using CrashPlan against DMS v5 still suffers the same problem that the previous setup (against DSM v4) had?
Namely, that having CrashPlan/Java running all the time prevents the Synology NAS from correctly hibernating?
I also have a DS1511+ (which I bought based on your recommendation, and I love it!). I just tried these steps. Unfortunately, when attempting to add the http://packages.pcloadletter.co.uk package source, I am getting an error "Invalid location".
Do you know if that location has changed? I'm unable to get past step 2 :-(
What made you decide to use crash plan over backblaze or any of the like competitors?
And what is your opinion of the newer synology nas like the 1513+ or the 1813+?
From the sound of it, aren't you backing up your PC to the NAS, and then dumping everything from the NAS to CrashPlan's central location? Wouldn't this mean you just need a single license (Because you're not storing data from your PC directly to CrashPlan)?
Great post, as allways :)
Just a silly question: why wouldn't single online backup strategy be sufficient?
I have a CrashPlan subscription and one computer which is fully synced there (~100GB of photos/documents). Can you please give me a hint where could this go wrong (CP even remembers deleted files) ?
Only reason I could think of is that we can not 100% trust online provider (CP in this case) to be 100% reliable with our data.
Thanks in advance,
- I didn't have a public share on my NAS, and it wasn't made clear until the CrashPlan package failed to install that such a share is required.
- I had Java SE 8 installed, and when I installed the CrashPlan client it wouldn't run. No explanation, and its error log was empty. I e v e n t u a l l y found that it doesn't run on Java SE 8. I had to uninstall this and downgrade to Java SE 7.
[Don't install Java SE 7 from the Java Embedded archive because there's currently a fault with the download link on that page. Instead, get it from this download page.]
- During installation, CrashPlan creates a new user called crashplan. You must then grant access for this user to your public share. If you've set the options on your public share to be accessible by all users then you won't have to do this step, but in my case I created the public share just for CrashPlan so I had prevented all users other than Admin from accessing this, and it won't show up as a network drive. Therefore, I had to grant the user crashplan access to this share.
Also Scott, you can add the CrashPlan client to your list of applications sans high-DPI support.
All in all, not a great experience, and I still don't have it fully up and running yet, but it would have been so much more frustrating without this walk-through.
I had this up and running and then the DSM 5.0 upgrade broke everything as you mentioned. One additional step I had to perform was "adopt" a previous backup so that it would recognize this new setup as the previous backup it already had.
Thanks for the rest of the details. Been on my list for a few months to figure out.
1) I can still run the crashplan service on my machine at the sametime the client is connected to the synology ? I'm pretty sure the answer to this is yes.
2) is a bit trickier
If I duplicate all the files I currently have in my music, films and pictures directories over to the synology and point crashplan at them, as they are already backed up and I have de-duplication turned on will crashplan not do the initial backup ? If this is true, and I then remove the files from the pc service crashplan selection (before deletion) would this give me a seemless transfer of files. Or do I just need to go through the "pain" of the initial backup again.
Doing it the Synology way has a number of advantages including:
1. It's a Crashplan supported method, and it's a lot simpler.
2. Crashplan uses about 1GB of memory for every 1TB of backup. If you have a lot of TB of data you will run out of memory on your NAS and this won't work.
3. Even if it does work, it consumes NAS resources, making it slower. If you do things like this on your NAS, you need an astronomically expensive Synology in order for a RAID 6 setup to be fast enough to really make use of good Synology features like link aggregation, etc. Why slow down already grossly underpowered hardware you paid an arm and a leg for just because it has a good software interface?
Special note: You can also build a NAS yourself, just buy a Dell T20 barebones with no drives, and run unRAID off USB (it fits four drives out of the box, and you can even expand with more SATA cards, as long as your drives dont use much power, it has a weak PSU). Granted, this tip won't be nearly as easy to use or have as many features as Synology, I decided to do that when I benchmarked the performance, it was about twice fast as a synology that cost twice as much...
1) Yes you can run crashplan on your nas AND on your computer but they are seperate instances therefore seperate computers so you need a license that covers both machines.
2) The second question Is irrelevant as the machine is a physically separate machine and will need the initial backup.
Note: Scott does say in his post but 1gb is the minimum amount of ram any synology is going to need with most people upgrading to at least 2gb for a smaller NAS like a 713+ (this can be done but is not supported officially).
So there you have it :)
I tinkered a bit and ended up uninstalling/reinstalling crashplan and all is right now. Anyone else have same/similar issues after a power cycle or reboot? If this is a recurring issue, that'll be disappointing that everytime there's a power outage, I'll need to uninstall/reinstall crashplan and remember to re-add crashplan user permissions to the public folder ...
Crashplan now supports NAS backup directly from any SINGLE PC or MAC plan.
You can now backup a PC or MAC and your NAS (and if you back up other machines to your NAS via some other method those too), without needing to install anything on your NAS, only paying for a single crashplan PC, and you can use ANY NAS, not just synology.
So, I urge everyone to first read my comment above before deciding if installing on a NAS is really for you, you will save yourself a lot of time and aggravation.
This article used to be the only good way to do this but is now no longer necessary! In my view, you should ONLY do this if you don't have a PC you can leave on all the time, and you don't have much data anyway so you won't run into out of memory crashes and other performance and resource problems.
Enis: I'm not seeing the same kind of performance issues you keep mentioning.
Backing up 2.9TB, my 412+ with stock 1GB RAM is at 29% RAM usage. Prior to installing headless CrashPlan, it averaged around 18%. Additionally, I was able to migrate to headless (thanks to this guide) in under 20 minutes.
Previously, my MacBook-hosted solution meant backups only occurred when my laptop is on my home network (nights and weekends) - it was far from ideal. Running a dedicated computer to manage cloud-based backups seems so antiquated - it's especially unnecessary when you already have a NAS with your data running 24/7. Not to mention the additional unnecessary electricity costs with keeping a Mac or PC running just for CrashPlan.
Thanks again, Scott - my experience with CrashPlan headless on my Synology NAS has been flawless!
You should still keep an eye on the resource usage over time, see code42s guidance (google "code42 memory usage") and read their own recommendations and reasons for them. This blog does not allow me to paste the link here.
I had large files, like encrypted disk images saved by clonezilla, video, photo and other media libraries, etc and after about 6TB of data I started to experience issues with the (ironically named) crashplan engine, crashing.
It may depend on what kind of files and how large there are, just sharing my experience (I now have over 12TB of data). Crashplan still works for me because most of this data does not change ever, but it took months to upload, for some reason I got 5mbps speeds a lot of the time even though I have fios 50mbps uploads.
I don't want to give the wrong impression here, Crashplan, Synology and Scott's blog are all excellent!
Still fine so far...
Then the gui starts scanning and at the backup stage the gui presents "could not connect" and the headless client is stopped (and I cannot start is anymore, unless I uninstall everything and start from scratch again with your instructions).
Any ideas what is going on and how to fix it?
How's DSM5 running on your 413?
Thank you for yet another excellent post about running CrashPlan on a Synology box - your article originally led to to purchase a Synology box for this particular feature.
Today I found myself wondering whether the new "official" Java Manager application could take over for the community provided installation process, but yet again I needed not look far to get a quick answer!
Oh and thanks for your excellent talks at the Warm Crocodile conference this year, I find your speaks entertaining and enlightening, which is always an excellent mix.
Best regards, Michael
Here's the location of ui.properties for several platforms:
- Linux (if installed as root): /usr/local/crashplan/conf/ui.properties
- Mac: /Applications/CrashPlan.app/Contents/Resources/Java/conf/ui.properties
- Solaris (if installed as root): /opt/sfw/crashplan/conf/ui.properties
- Windows: C:\Program Files\CrashPlan\conf\ui.properties
I used this Java jdk-7u67-linux-i586.gz and Homes is enabled (and that is where the Crashplan app is). I have also granted permissions to the Crashplan user on the Synology.
Any ideas where I'm going wrong? I have already tried starting over from scratch.
I have Crashplan up an running now. But am wondering how to backup my computer to my Synology, because, the way I see it, the Crashplan software now thinks my computer is my Synology box. How do the rest of you back up yout computers to your Synology Box. I thought I could use the Crashplan app for that as well, but I don't see how?
Maybe someone here, has a good tip?
I just tried to install CrashPlan - but the daemon on the NAS only listens on 127.0.0.1:4243 by default..
Having changed this, I am still unable to connect to my NAS client - every time I start the crashplan client, it displays the folders from my local pc - even though I have changed the IP address in the ui.properties file....
Had to set the port in the ui.properties file as well - then it started working...
When I uncommented that 2nd line in ui.properties and specified the ipaddress of my Synology CrashPlan reported only the destinations of CrashplanCentral and the PC itself (ie. the name of my PC - SHAWNSPC - not the name of the NAS - THENAS1 -.
Curiously, when I rolled back to the original file (with the commented-out localhost ip value).. CrashPlan *now* says.. THENAS1 (and makes no mention of my FQHN of the pc.). The backup works, and the DiskStation shows the activity as I expect, in the logs.
Curiously, when I roll forward again,.. (with the uncommented IP value corresponding to the NAS), the name of the NAS no longer appears in CP, and I see rather the name of the PC.
It strikes me that this behaviour is backwards.
We'll what happens if I reboot.
I followed your guide and the PC Load Letter Guide and got CrashPlan working with my DS213's ARM (Marvell Kirkwood mv6282 armv5te) CPU.
The biggest difference is the Java version - the ARM CPUs require Java SE Embedded 7 (under the Package Manager's Community section) instead of Java Manager. You also don't have to install the Java package in Synology (you just copy it to a root "public" folder). Otherwise everything else is the same.
So glad to have this running headless on my Synology. Thanks again for your amazing post.
Im using a mac and i have done all the parts well until where you have to point the client to the NAS drive, but can some one help me as now when I open my mac client I can't see the Synology Crash plan .
which is used to connect to this headless service is then only able to manage that service, or whether it can be used to drive that service and its own CrashPlan client on the machine it is intalled on?
If former, any way to define two such UIs on a mac, one to manage the NAS and one the MAc's own CrashPlan? (Different User on the mac might be acceptable)
Everything seemed to be going swimingly. I did everything as you mentioned installed crash plan but it does not regognize my synology 214play at all not sure what is going on. I have installed and uninstalled crash plan several times and no luck I am running a mac enviroment does that matter? It shouldn't any help would be greatly appreciated
Everything was working well until I stupidly agreed to "DSM 5.0-4493 Update 4". From this moment Crashplan can not seem to start. Log says: "Crashplan started" - and the same record every minute. Tried to reinstall Java 6,7 and Crashplan, but still have the same result.
Maybe you know what they changed and what I can do now to continue using CP on my 213+?
Thanks for the guide. I was just wondering. Will this back-up solution work even when my computer is offline?
I upgraded to DSM 5.0-4493 update 4 on my Synology DS413j, added http://packages.pcloadletter.co.uk as a package source, but now new packages show up in the list of packages. So I'm not able to install Java or Crashplan.
I did do a refresh in Package Center, restarted the Synology, but is still not showing any new packages in the list.
Any idea what I'm missing / doing wrong?
check the Community section on the left. When I select All, Crashplan and Java don't appear - I have to select Community.
Hope that helps.
Thanks !! Great guide ..
I got it up & running in my brand new 213j in minutes!
I am having the exact same symptoms since the update. I am pretty sure at some point in the past, I had to increase the memory size for Crashplan. So I went spelunking - so far I seem to have fixed it by doing the below. edit /var/packages/CrashPlan/target/syno_package.vars and uncomment the USR_MAX_HEAP line. I increased mine to 1024M. I do have 3 GB of RAM in my Synology, which I put in for this purpose, so your mileage may vary if you don't have that much RAM.
Comments are closed.