Difference between revisions of "CrashPlan"

From ArchWiki
Jump to: navigation, search
(added "Waiting on Backup" troubleshooting)
m (Stuck on Waiting for Backup: shorten title)
Line 29: Line 29:
 
On some systems it can happen that CrashPlan does not wait until an internet connection is established. If using [[NetworkManager]], you can install {{AUR|networkmanager-dispatcher-crashplan-systemd}} which will automatically restart the CrashPlan service once a connection is successfully established.
 
On some systems it can happen that CrashPlan does not wait until an internet connection is established. If using [[NetworkManager]], you can install {{AUR|networkmanager-dispatcher-crashplan-systemd}} which will automatically restart the CrashPlan service once a connection is successfully established.
  
===Stuck on Waiting for Backup===
+
===Waiting for Backup===
  
 
If the backup is stuck on «Waiting for Backup» even after you engage it manually, it might be that CrashPlan cannot access the tempdir or it is mounted as {{ic|noexec}}. It uses the default Java tmp dir which is normally {{ic|/tmp}}. You can either remove the {{ic|noexec}} mount option (not recommended) or change the tmpdir CrashPlan is using.
 
If the backup is stuck on «Waiting for Backup» even after you engage it manually, it might be that CrashPlan cannot access the tempdir or it is mounted as {{ic|noexec}}. It uses the default Java tmp dir which is normally {{ic|/tmp}}. You can either remove the {{ic|noexec}} mount option (not recommended) or change the tmpdir CrashPlan is using.

Revision as of 12:01, 12 December 2013

CrashPlan is a backup program that backs up data to remote servers, other computers, or hard drives. Backing up to the cloud servers requires a monthly subscription.

Installation

Install crashplanAUR from the AUR. There is also crashplan-proAUR and crashplan-pro-eAUR available which are the paid enterprise packages.

Basic Usage

CrashPlan can be entirely configured through its graphical user interface. You can access it by:

$ CrashPlanDesktop

Once configured you can control the CrashPlan service as follows:

# systemctl {enable,disable,restart,stop} crashplan.service

Troubleshooting

Ignoring invalid environment 'export LC_ALL=en_US.utf8'

Should your journal logs show this locale error, add the following line to your ~/.bash_profile:

export LC_ALL=en_US.UTF-8

Waiting for connection

On some systems it can happen that CrashPlan does not wait until an internet connection is established. If using NetworkManager, you can install networkmanager-dispatcher-crashplan-systemdAUR which will automatically restart the CrashPlan service once a connection is successfully established.

Waiting for Backup

If the backup is stuck on «Waiting for Backup» even after you engage it manually, it might be that CrashPlan cannot access the tempdir or it is mounted as noexec. It uses the default Java tmp dir which is normally /tmp. You can either remove the noexec mount option (not recommended) or change the tmpdir CrashPlan is using.

To change the tmpdir CrashPlan uses, open /opt/crashplan/bin/run.conf and insert -Djava.io.tmpdir=/new-tempdir to SRV_JAVA_OPTS, for example:

SRV_JAVA_OPTS="-Djava.io.tmpdir=/var/tmp/crashplan -Dfile.encoding=UTF-8 …

Make sure to create the new tmpdir and verify CrashPlan's user has access to it.

$ mdir /var/tmp/crashplan

Restart CrashPlan

$ systemctl restart crashplan

See also