Crashplan

From Amahi Wiki
Revision as of 17:55, 30 July 2010 by Gboudreau (talk | contribs)
Jump to: navigation, search

CrashPlan on Amahi

Using CrashPlan on your Amahi HDA will allow you to back up, for free1, all your computers into your Amahi HDA2.
It will also allow you to become the backup server of friends and family, if you'd like.

1 While CrashPlan is free to personal use, an advanced version, CrashPlan+, is available for a fee, if you'd like to get the features it adds to the free CrashPlan version.
2 Technically, it's also possible to backup your HDA into your other computers if you need that.

Installing CrashPlan

To be able to use CrashPlan, you'll need to install the CrashPlan application on your Amahi HDA, configure it as needed, and install the CrashPlan application on all the computers you'd like to backup to your HDA.

More about CrashPlan

To learn more about CrashPlan, you can visit the CrashPlan website, where features are explained, and where you can watch CrashPlan in action in their video tour.

CrashPlan Accounts

Using CrashPlan requires a (free) CrashPlan account. You'll be able to create a new account from the configuration app itself.

You'll probably want to use the same account for all computers in your home. That means you'll create the account on the first computer you configure CrashPlan on (it can be your HDA, or any other computer on your home network), and then simply use that same account on all other computers, instead of creating new accounts.

If you'd like to use different accounts, so that each computer (user) is the sole owner of his backed up files, this is also possible. Trying to restore such files from another computer (this is called a guest restore in CrashPlan) will require the user to enter the owner's password.

How to configure CrashPlan on your HDA

Note that the CrashPlan UI sometimes has issues registering button clicks. If you click a button and it seems to do nothing, hit the ENTER key. That seems to help in such cases.

On the HDA itself

The easiest way to configure CrashPlan is to access it from the HDA desktop directly.

Launch a Terminal (Applications > System > Terminal).

In the terminal window, type CrashPlanDesktop (with the proper case) and hit ENTER.

If you don't have physical access to your HDA, or if you run it headless, try the methods below.

Using VNC

If you have VNC or WebVNC setup, you can use that to configure CrashPlan remotely, instead of using the OS-dependent methods described below.

Simply connect to your HDA using VNC (or WebVNC), and launch a Terminal (Applications > System > Terminal).

In the terminal window, type CrashPlanDesktop (with the proper case) and hit ENTER.

The CrashPlan configuration application will start.

Using X-Forwarding

To use X-Forwarding, you don't need X running, or even installed on your HDA.
All you need is an X server on your client computer, and to enable X11Forwarding on your HDA.

Enable X11Forwarding

You'll only need to do this once, on your HDA.

ssh hda
su -
sed -ie 's/X11Forwarding.*no/X11Forwarding yes/g' /etc/ssh/sshd_config
service sshd reload

Windows

You'll need two things to be able to configure CrashPlan from Windows: PuTTY and Xming.

For PuTTY, just download putty.exe from here. You can leave it on your desktop and use it from there.
For Xming, you'll need to download and install two files: the Xming installer, and the fonts installer.
You can accept all the default values for both installs.

Now, you should have a start menu item for Xming. Start it from there. You should now have a black X icon in your system tray.

Next, start PuTTY, and enter your HDA IP address under Host Name (or IP address), enter 22 under Port and select SSH under Connection Type.

Red-S01.png

Open the Connection > SSH item in the Category tree on the left, and select X11.
Select the checkbox that says Enable X11 forwarding.

Now go back into Session in the Category tree, and give a name for this profile, so you won't have to repeat those steps next time.
Enter a name in the Saved Sessions text box, and hit the Save button on the right.
Next time your start PuTTY, you'll be able to just double-click your profile in the Saved Sessions section to connect to your HDA with X11 forwarding enabled.

Now, connect to your HDA by clicking Open, or double-clicking your profile name in the Saved Sessions select box (on the left of the Load, Save and Delete buttons).

Enter your Fedora username and password when prompted.

Once logged in, enter the following command to start the CrashPlan configuration UI:

CrashPlanDesktop

There are many guides available online that explain those steps. Here's some, if you need further help:

Mac OS X

Open a Terminal (Applications > Utilities > Terminal.app)
and enter the following commands:

ssh -X hda
CrashPlanDesktop

Once you're done with the CrashPlan configuration, you can close the CrashPlan app, the X11.app that appeared in your Dock, and Terminal.app

Linux

Starting on your X desktop (Gnome, KDE, ...), open a Terminal (Applications >System > Terminal in Fedora)
and enter the following commands:

ssh -X hda
CrashPlanDesktop

Once you're done with the CrashPlan configuration, you can close the CrashPlan app, and the Terminal.

Using a local CrashPlan client

You can follow the instructions on the CrashPlan wiki on how to connect to a headless CrashPlan install.

It requires you to install CrashPlan on your client computer, manually editing a config file, and using SSH port forwarding.