CrashPlan is very popular for backing up NAS solutions. This post outlines the process for installing and configuring CrashPlan on a NAS in a Docker container and controlling it remotely from a CrashPlan Client.
The whole process is made easy due to the Docker technology however some tinkering is neccessary in order to successfully backup large amount of files and manage CrashPlan remotely. Once it’s setup, it is very easy to backup several TB of data, even from other servers.
For a guide to install Crashplan as a regular Synology Package, follow this link.
I’m totalling around 4TB of data of CrashPlan data.
My backup scenario is the following:
I’ve chosen this release: https://github.com/JrCs/docker-crashplan
Since we are mapping volumes below the docker path, we need to do this outside of the Synology UI using SSH.
Login to your Synology via SSH and sudo up.
Enter the docker run command
I always prefer to keep the configuration outside of the container to easily be able to upgrade in the future and also to be able to backup easily. Note my local path (/volume4/docker/crashplan/data) where “docker” is a shared folder.
This configuration file is located in the id/ folder.
The .ui_info file contains the port number and the key which are needed to be entered into your local .ui_info file.
The local CrashPlan client read the settings from a local .ui_info file.
On my mac, it is located at: /Library/Application Support/CrashPlan
Paste in the port number and the key. Make sure the ip address points to your docker host.
Save and quit and then fire up the CrashPlan client.
Depending on how many files you need to scan and backup, you made need to increase the Java Max Heap. If the CrashPlan unexpectedly crashes when running, the Heap is most likely the culprit. You usually notice this when CrashPlan notices you of Backup outages.
I’ve set the max heap size to 3GB
Either create a new account or login using an existing account. You may adopt an earlier backup.
You must enter the correct encryption key. Earlier when entering an invalid key, the whole previous backups were lost, hopefully they have fixed that issue.
After successfully having entered the encryption key, Crashplan will start to synchronize with existing backups.
When you install CrashPlan on your local machine, the setup will install both a client and a server. To disable the unused service on OSX, follow these steps.
- See if the service is running:
- Disable service:
- Verify the service is not running anymore:
- Delete the launch control plist so the CrashPlanService doesn’t reload the next time OSX is restarted:
I have a TimeMachine service running on a second NAS which is used by some of our laptops. In order to include this folder in my CrashPlan backups, I mount the remote folder locally and include it in my CrashPlan schedule.