Install Crashplan on Raspberry Pi

Credits to http://www.bionoren.com/blog/2013/02/raspberry-pi-crashplan/ for this guide. I am replicating here for my own benefit, should the site above ever go offline.

Download the latest version of Java JDK 8 for ARM and transfer it to your Raspberry Pi.

Unpack it to /opt (the filename will probably change with each update) and check it is installed ok:

Add the path to the root user’s bash profile. IT needs to go at the beginning of the path so that it is picked up before any other pre-installed version of java – i.e. the one at /usr/local/java:

Add the following line to the end of the file and save it:

Now, if you switch to a root shell, JDK8 should be the version it picks up by default, compared to 1.7 for a normal user, i.e:

 Install Crashplan

Download crashplan for linux and copy it to your Pi.

Extract and install it:

Copy some additional files to the crashplan dir:

Install another required library:

Next, edit the crashplan startup script

and find the line that begins with FULL_CP=  (its around the start case)

add /usr/share/java/jna.jar: to the begining of the string, i.e. so that it becomes:

Reboot

After rebooting, crashplan should start automatically (the installer puts a startup script in /etc/rc2.d etcin order to do this) and running

should result in success.

Connect the GUI

The next step is to install the crashplan client on your workstation, set up an SSH tunnel from your workstation to the raspberry pi so that you can run the GUI on your local machine and have it connect to the backend service running on the Pi. Follow Crashplan’s Headless guide