Move the CrashPlan cache directory

2015-03-21

If you leave the CrashPlan cache file at its default location and your system volume is small, it can fill up your system volume and stop your system.

Moving the cache is as simple as either replacing the default location with a symlink to a larger volume or editing the xml config file.

On a Linux (kvm) virtual machine, the default cache location is /usr/local/crashplan/cache.

If your cache has already filled up your system disk, you can simply rm -rf its contents to clear it.

service crashplan stop
rm -rf /usr/local/crashplan/cache
mkdir -p /crashplan/cache
ln -s /crashplan/cache /usr/local/crashplan/cache
service crashplan start

XML config file procedure

service crashplan stop
rm -rf /usr/local/crashplan/cache
mkdir -p /crashplan/cache
vi /usr/local/crashplan/conf/my.service.xml
# In the <cachePath> element, 
# change the string from /usr/local/crashplan/cache to /crashplan/cache
service crashplan start

References