Synology DS1511+ and CrashPlan

These instructions were ripped verbatim from Kenneth Larsen’s blog because it just worked!  You can either use vi or nano to edit the files.

  1. Download the latest release of the Linux Crashplan Client from Crashplan website along with the client for your operating system if you use another operating system then Linux
  2. Upload the Linux client to the NAS and login to your NAS as root using SSH.
  3. You need to installe ipkg in order to do so. If haven’t done so already you can follow this guide: http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#What_is_a_Synology_Server
  4. You will need to install a few extra packages at your NAS from the command line:
    1. ipkg update
    2. ipkg install nano
    3. ipkg install cpio
    4. ipkg install bash
    5. ipkg install coreutils
  5. Move the uploaded client package to /opt
  6. Unpack the crashplan client: tar -xvf name_of_downloaded_archive_file
  7. Modify the install.sh script in the newly created directory to use bash as your shell. The first line in the script should be replaced with this one: #!/opt/bin/bash
  8. Install the crashplan using the options below. When asked about java allow it to be downloaded:
    • CrashPlan will install to: /opt/crashplan
    • And put links to binaries in: /opt/bin
    • And store datas in: /opt/crashplan/manifest
    • Your init.d dir is: /etc/init.d
    • Your current runlevel directory is: /usr/syno/etc/rc.d
  9. Modify the /opt/crashplan/bin/run.conf by adding  -Djava.net.preferIPv4Stack=trueas an additional option at the end of the two confiurations (This was already added when I did the install)
  10. Remove commandline options for the ps process in the /opt/crashplan/bin/CrashPlanEngine file since ps doesnt accept parameters at the synology NAS: sed -i ‘s/ps -eo /ps /’  CrashPlanEngine;sed -i ‘s/ps -p /ps /’  CrashPlanEngine
  11. Modify the /usr/syno/etc/rc.d/S99crashplan file line 1 to : #!/opt/bin/bash
  12. Modify the /opt/crashplan/bin/CrashPlanEngine file line 1 to: #!/opt/bin/bash
  13. Modify the /opt/crashplan/bin/CrashPlanEngine file line 14 with a full path for nice to: /opt/bin/nice
  14. Start your crashplan service /usr/syno/etc/rc.d/S99crashplan start
  15. Validate that your service is running: netstat -an | grep ‘:424.’ should give to listeners:
    • 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
  16. Edit /etc/rc.local and add “/usr/syno/etc/rc.d/S99crashplan start” without quotes, it seems to load after restart.
  17. Install your desktop client and point it towards the headless service you just installed. Follow the instructions in the crashplan website for this (http://support.crashplan.com/doku.php/how_to/configure_a_headless_client)

Update 8/19: Just to post a reply to this, there is a much better way to get this working now (and is what I use).  Check it out at http://pcloadletter.co.uk/2012/01/30/crashplan-syno-package/

1 thought on “Synology DS1511+ and CrashPlan”

  1. Does anyone know where to purchase the optional modules for the 1511+, specifically the vpn portion? Also, if anyone’s used the vpn module– how is the performance and how much does it cost to add in?

    Thanks,
    Kevin

Leave a Reply

Your email address will not be published. Required fields are marked *