Running Syncrify on FreeNAS
This article is now obsolete.
Refer to this page
for a newer version.
This tutorial explains how to install and run Syncrify on FreeNAS server.
The following was done with Syncrify 1.3 build 360 and FreeNAS version 0.7.2 (Sabanda) installed on FreeBSD version 7.3
IMPORTANT: You need a "full" not "embedded" FreeNAS. Make sure to allocate at least 200 MB of disk space for Java
||Download Java from http://www.freebsdfoundation.org/java. In this example, I downloaded the JDK for FreeBSD 7.x/i386. The actual file name was diablo-jdk-freebsd7.i3188.8.131.52.07.02.tbz
||Install dependent packages first using the following commands:
$ pkg_add -v -r xtrans
$ pkg_add -v -r xproto
$ pkg_add -v -r xextproto
$ pkg_add -v -r javavmwrapper
||Install Java (the .tbz file is the one you downloaded in step 1)
pkg_add -v diablo-jdk-freebsd6.i3184.108.40.206.07.02.tbz
||Download Syncrify from http://synametrics.com/files/Syncrify/SyncrifyOther.tar.gz
||Use the following command to unzip the file:
tar -zxvf SyncrifyOther.tar.gz
||Modify the run.sh script if necessary. You might have to:
- Add a line in the beginning to run a specific shell, for example to use bash:
Modify path for java. We recommend adding java in your system path rather than specifying an absolute path in the script.
||Execute run.sh to run Syncrify.
NOTE: You may have to change your shell to bash if you modified the script to do so in the above step. You can check your shell by typing the following:
If you do not see
return from this command then type
to temporarily change the shell for this session.
Optionally, you can permanently change the shell for the user by typing the following:
chsh -s /bin/bash <user_name>
||Open a browser from another machine and try connecting to:
This is assuming the IP address of your FreeNAS server is 192.168.1.120
Optional step - start at boot time
If you like Syncrify to start at boot time, create a file called 'syncrify' and place it in the /etc/rc.d directory
cd /mnt/ForBackup/Syncrify <-- Change this path to match your installation folder.
After creating this file, change its permission to executable by running the following command.
chmod +x syncrify