Revolving around the core of technology
|Subject:||Running Syncrify on Synology NAS|
|Creation date:||11/12/15 9:52 PM|
|Last modified on:||5/3/22 2:00 PM|
This page is now obsolete. Please refer to Downloading Synology Package for Syncrify for latest information.
sudo suNote: If you get an error complaining "sudo" is an invalid command, try using "root" instead of "admin" when establishing SSH connection. The password for "root" and "admin" should be same on Synology.
tar -zxvf SyncrifyOther.tar.gz
run.shscript in the installation (
/volume1/opt/Syncrify). However, our goal is to start Syncrify when the NAS device reboots. In order to do that, we will need to modify the existing script and make some minor adjustments. Rather than modifying the existing
run.sh, we recommend you create a copy and use that instead. Let's call this copy
launchAtBoot.share displayed below.
cd /volume1/opt/Syncrify CP= for i in `ls lib/*.jar` do CP=$CP:$i done echo $CP /var/packages/Java8/target/j2sdk-image/bin/java -server -Xmx512m -cp $CP -DLoggingConfigFile=logconfig.xml com.synametrics.sradef.BootLoader
run.sh. First, we change the current directory to the location where Syncrify is installed. Second, we specify the absolute path for java binary. These changes allow us to run the script from any location.
launchAtBoot.sh, which is done using the following command:
chmod +x launchAtBoot.sh
ntServiceCommand. The parameter lines should appear like following after modification.
<parameter name="jvmPath" type="1" value="/var/packages/Java8/target/j2sdk-image/bin/java"></parameter> <parameter name="ntServiceCommand" type="1" value="/volume1/opt/Syncrify/launchAtBoot.sh"></parameter>
/tmpon Synology. This location is not big enough, particularly if you plan to backup large files. Therefore, it is strongly recommended that you modify the path where temporary files are stored.
/volume1/opt/SyncrifyTempfolder. Following steps demonstrate how to modify the TEMP folder in Syncrify.
Starting from version 6.0, Synology DSM contains an ability to run scripts at boot time. Using this wizard, you can execute
launchAtBoot.sh when your NAS device reboots.
/volume1/opt/Syncrify/launchAtBoot.shfor script. Refer to the image below
/etc/init. Let call this script
syncrify.conf. It should have the following contents.
description "Syncrify daemon" author "Synametrics Technologies, Inc." #start Syncrify on the following run levels start on runlevel 
#stop Syncrify gracefully if the runlevel changes to 'reboot' stop on runlevel  #finally, execute the script exec /volume1/opt/Syncrify/launchAtBoot.sh
start. That is because the binary is located in /sbin/ folder, should be in your system PATH. To stop Syncrify, run:
http://YourSynologyNas:5800from a browser on your desktop computer to access its web interface.
/var/log/upstart/syncrify.log. Messages printed to standard output go this file and comes handy if you run into problems.
Posted by Greg Johnson on 10/17/17 9:33 PM
Posted by Andre on 3/10/16 9:32 AM
Posted by Markus on 2/17/19 3:20 AM
Do you have a helpful tip related to this document that you'd like to share with other users?