Setup crashplan on a remote headless host

I needed to setup Crashplan on my local linux server which is acting as an NFS and SMB server for all my media. As this is a headless server and the CrashPlan app doesnt have a cli, this is how to access it remotely.

Install Instructions:

Download the latest version of the app.

jon@microserver:~/$ wget https://download.code42.com/installs/linux/install/CrashPlan/CrashPlan_4.3.0_Linux.tgz

Extract the archive

jon@microserver:~/$ tar -zxvf CrashPlan_4.3.0_Linux.tgz

Change into the directory

jon@microserver:~/$ cd CrashPlan-install

Run the installer

jon@microserver:~/$ sudo ./install.sh

You can accept most of the defaults, but you can change the back up location if you want.

Now you need to copy a file from the remote host to the host which you’ll be running the app from. In this instance, it’ll be my laptop. Remember to make a back up of your original config though before doing anything.

jon@jon-debian-laptop:~/$ mv /var/lib/crashplan/.ui_info /var/lib/crashplan/.ui_info.orig

jon@jon-debian-laptop:~/$ scp jon@microserver:/var/lib/crashplan/.ui_info /var/lib/crashplan/.ui_info

You now need to change the port in the .ui_info. You need to change it from 4232 to 4200.

This file consists of the port and an auth key. The port is the first 4 numbers, before the comma.

Once thats complete, you now need to setup and ssh tunnel on your local machine.

jon@microserver:~/$ ssh -L 4200:localhost:4243 jon@microserver

Now just load up the application and it’ll be connected to the remote host.

When you are finished working on the remote host, you just need to move the .ui_info’s around again.