Installing CrashPlan on Ubuntu 9.04 Server Edition

Although rsnapshot is super for linux-to-linux backups, I’ve found CrashPlan to work very well as a backup solution for my family’s windows and mac boxes.

The CrashPlan installation works pretty well on ubuntu desktop edition, as all the necessary packages are already there. The server edition fails quietly, though.

Run these steps before you install CrashPlan, and everything should be smooth:

1. First get all the prerequisite packages (including Sun’s JRE and SWT):

sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-fonts libswt-gtk-3.4-java xauth

2. Tell Ubuntu to use the sun-java6 JRE by default:

sudo update-java-alternatives -s java-6-sun

And then know that the log directory (if you accept the default installation directories) will be in /usr/local/crashplan/log.

3. Once installed, you can see the CrashPlan UI by using ssh X11-forwarding. On a Mac, install X11, then run ssh -X ubuntu-server (where “ubuntu-server” is the hostname of the server running CrashPlan). The -X tells ssh to forward X11 traffic. If you see this error:

$ ssh -X my-server
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.

then you need to install the “xauth” package on the ubuntu server:

sudo apt-get install xauth

If you see “connect /tmp/.X11-unix/X0: No such file or directory” you need to start X11.app on you Mac before running ssh -X.

Update December 3, 2009:

I upgraded to Ubuntu 9.10 with do-release-upgrade and crashplan looks like it’s compatible with Karmic Koala.

Update December 15, 2009:

I upgraded my Mac to Snow Leopard, which installs a broken X11–the text entry fields hang after a couple keypresses, and the buttons don’t click with mouse. As per the XQuartz releases page, I’ll try sudo port -v install xorg-server and see how that works.

Related posts:

  1. How to pause crashplan on Mac OS X
    Crashplan on Windows has a taskbar icon that lets you put the backup daemon to sleep, but the Mac OS X port doesn’t seem to have this functionality. You can’t......
  2. HOWTO install etherpad on ubuntu 9.10
    Etherpad was opensourced by google, and has some generic installation instructions. Here’s the translation for Ubuntu Karmic Koala (release 9.10): Install the prerequisites: sudo apt-get install mysql-server-5.1 mercurial sun-java6-jdk sun-java6-jre......
  3. Installing VMware Player on Ubuntu Gutsy
    Please note that these instructions are for Ubuntu 7.10. Newer versions of Ubuntu can just follow the normal installation instructions at http://www.vmware.com/download/player/. So it turns out that the current release......
  4. Installing Trac on Ubuntu
    Here’s the condensed version, using the installation guide for help: Install the software sudo apt-get install python-setuptools python-subversion sudo easy_install Trac Initialize the Trac project We’re going to run the......

  • Simon

    Their installation process is pretty simple. Just download their .tgz file, and peruse the INSTALL readme.

    You can even remote-control the thing using ssh port forwarding. The instructions are also right there in the .tgz.

    Pretty simple. Anybody can do this themselves.