I´ve been using Crashplan home for a couple of years. Installing it directly on my home NAS has been the most efficient way for me, but unfortunately Crashplan doesn´t support it. During my time using crashplan, I´ve had multiple of software issues. This has made it more and more frustrating not having any support, on my most important service. I´m a complete linux knewbi, but I write this little guide to help other persons in my situation. I´ve spent many days trying different approaches to get everything running. Hopefully this will help you save some time. I will probably not be able to answer any questions, but I promise that I will try.
Requirements:
-QNAP Virtualization Station
-2GB ram, but I recommend 4GB.
PROS
-Connect to UI via remote desktop, no need to struggle with .ui_info etc.
-Standard Crashplan Install => Official support and there by future proof.
-Support 64bit Java => access all of your RAM (Crashplan recommends 1GB RAM per 1TB Storage).
-Should be unaffected by QNAP QTS updates.
CONS
-Consumes more resources then running via QPKG package.
-It requires more time to setup than installing a QPKG.
Howto make a supported Crashplan installation on QTS v4.2:
1) Create a VM, set proper keyboard layout and set Video to VMVGA in Virtualisation Station. I use 3GB ram and 2 cores on my TS-251, equiped with 8GB ram.
2) Download and Install Ubuntu 14.04.3 server 64bit, minimum packages. Choose to auto install security updates.
http://www.ubuntu.com/download/server
3) Always boot to terminal.
https://www.youtube.com/watch?v=HpyvDF_ ... e=youtu.be
4) Set auto-update reboot "True"(using the "unattended-upgrades" package):
https://help.ubuntu.com/community/Autom ... ityUpdates
5) Configure ufw firewall (only open port 4242/tcp) using this guide:
https://www.digitalocean.com/community/ ... 04-servers
Code: Select all
sudo ufw allow 4242/tcp
sudo ufw show added
sudo ufw enable
7) Install GUI, LXDE works best fore me http://www.htpcbeginner.com/install-gui ... -04-gnome/
Code: Select all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install xorg lxde-core lxrandr
8 ) I also installed a virtual keybord, text editor, ntp, nethogs, cifs and libwebkitgtk-1.0 (used by Crashplan CLI).
Code: Select all
sudo apt-get install onboard leafpad ntp nethogs cifs-utils libwebkitgtk-1.0-0
9) startx and set proper screen resolution:
Code: Select all
xrandr -q
sudo xrandr -s 1280x720
10) Download crashplan
Code: Select all
wget https://download.code42.com/installs/linux/install/CrashPlan/CrashPlan_4.5.0_Linux.tgz
Code: Select all
sudo apt-get install openjdk-7-jre-headless
12) install Crashplan and when the script asks,change runlevel to /etc/rc2.d
Code: Select all
tar xzvf CrashPlan_4.5.0_Linux.tgz
cd crashplan-install
sudo ./install.sh
13) The Ubuntu VM will access your NAS drives via a network share. Set up network share in QTS and permanently mount them with cifs-utils using this guide: https://help.ubuntu.com/community/Mount ... ermanently
I don´t know if it´s needed, but I also added "file_mode=0777,dir_mode=0777,noperm" as attributes. My fstab line looks like this:
Code: Select all
//192.168.x.x/crashplan_backups /path/to/mnt cifs iocharset=utf8,file_mode=0777,dir_mode=0777,noperm,credentials=/home/user/.smbcredentials,uid=1000 0 0
15) Open the CrashPlan app and log in. Double-click the CrashPlan logo in the upper-right corner. The CLI-window will open. This windows might be blank, see known issue below. Enter the following command, using a value appropriate for the size of your backup selection (example: 2560 for a 2.5TB selection):
Code: Select all
java mx 2560, restart
Known issues:
-The crashplan installer gives an error message when it tries to move the "electron-x64" folder. According to Crashplan support, electron is not required for v4 so error should be ignored.
-Crashplan UI terminal/console is completely blank, no text is shown. You are able to run commands, so it´s no big deal only a bit irritating.
The Crashplan CLI requires libwebkitgtk-1.0-0 to work.
-Attaching backup archive manually doesn´t work. My guess it is due to linux file permissions...
-Migrating from Crashplan_QPKG: Adopt Computer will not work on incomming backups. Your friends might need to start there backups from scratch.