![]() Nano /compat/linux/usr/local/crashplan/install.varsĬhange JAVACOMMON=”.” to JAVACOMMON=”/usr/local/linux-sun-jre1.6.0/bin/java” It seems to work fine but we can change that by the one we installed if we want. Select correct Java for CrashPlan (in Jail)īy default, CrashPlan uses /usr/local/bin/java We need to edit /compat/linux/usr/local/crashplan/bin/run.confĪnd add following text to the end of the SRV_JAVA_OPTS line (still in the “) Now CrashPlan is installed but it won’t run just yet. compat/linux/bin/bash /compat/linux/CrashPlan-install/install.sh sbin/mount -t linprocfs linproc /mnt/mydata/jails/CrashPlan/compat/linux/proc/Įnable the variable so the script runs at boot:Įdit rc.conf to load linux module at boot (in FreeNAS)ĭownload CrashPlan for Linux from their site and move the file (CrashPlan_3.5.3_Linux.tgz) to your FreeNAS in the compat/linux folder of your Jail (/mnt/mydata/jails/CrashPlan/compat/linux) Watch out though as it takes quite a whileĬreate a script that will mount proc (mounting will automatically load the linprocfs.ko module):Īdd (make sure the command in mountproc_start is on 1 line) : Optionally you can install nano, I prefer it over vi as I find it easier :) Then try to install again, this should work mnt/mydata/jails/CrashPlan/usr/ports/distfiles If you downloaded it to your PC you need to transfer it to FreeNAS in the distfiles dir where the Jail can access it This will now tell you that you need to manually download the java bin file, it will also tell you which version, in my case it was jre-6u45-linux-i586.bin which I downloaded from: Now you’re in your Jail and we need to get a list of packages (in Jail) If you get an error about extraction failed, just click OK again and it should complete. WebGUI - Jail - Configuration - Jail Root You also might want to enable “Login as Root with password” for now (click on the wrench key button)Ĭreate a folder on that Volume that will serve as root folder for our Jails If not, add one with WebGUI - Storage - Volumes - ZFS Volume Manager You can however run CrashPlan and force a verify every time you need to run a backup.įull install guides, I couldn’t have done it without these:įirst make sure you have a Disk added (check in WebGUI - Storage - Volumes - View Disks) and an Active Volume (check in WebGUI - Storage - Volumes - View Volumes) Real-time backup will not happen because inotify isn’t supported yet: I currently only tested it on a 32bit system as my old server is 32bit. If so, comments with tips are appreciated! The whole concept of jails is new to me so it's quite possible that there's a better or faster way to get it done. I documented my steps below, I wanted to clean it up some more but I leave on holiday tomorrow and wanted to post this already. Thanks to some great info on the internet (see links) I managed to get CrashPlan running in a FreeNAS 9.1 Jail.
0 Comments
Leave a Reply. |