Home Setup crashplan on a remote headless host
Post
Cancel

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.

1
[email protected]:~/$ wget https://download.code42.com/installs/linux/install/CrashPlan/CrashPlan_4.3.0_Linux.tgz

Extract the archive

1
[email protected]:~/$ tar -zxvf CrashPlan_4.3.0_Linux.tgz

Change into the directory

1
[email protected]:~/$ cd CrashPlan-install

Run the installer

1
[email protected]:~/$ 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.

1
[email protected]:~/$ mv /var/lib/crashplan/.ui_info /var/lib/crashplan/.ui_info.orig
1
[email protected]:~/$ scp [email protected]:/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.

1
[email protected]:~/$ ssh -L 4200:localhost:4243 [email protected]

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.

This post is licensed under CC BY 4.0 by the author.