Syncrify » Knowledge base

Document information

Document ID: 1540
Subject: Changing the path for Data Folder in Syncrify
Creation date: 10/7/10 9:33 AM
Last modified on: 12/11/18 12:00 PM


Changing the path for Data Folder in Syncrify


Syncrify automatically selects the path for its Data Folder, which is kept in the user's home folder. If you want multiple users to share these profiles, you will have to modify this location and move it to a folder that is not user specific.

The following steps display how to move this path.

On Microsoft Window

Changing the location of the Data Folder is a two-step process on Windows:

Note: The installation location for Syncrify Client on older clients can be C:\Program Files\SyncrifyClient
Step 1 - Modify Syncrify GUI
  • Using Windows Explorer, go to C:\Program Files\BackupClient, or the folder where you have installed Syncrify client.
  • Open BackupClient.lax file in any editor like Notepad
  • Add the following line towards the end of the file
    lax.nl.java.option.additional="-Dsyncrify.custom.home=C:/YourNew/Path/For/DataFolder"
    There are two important things to note here:
    • Text after the = sign is specified within double quotes
    • Use forward slash to specify folder separation.
Step 2 - Modify Service
  • Create a new file called service.properties in C:\Program Files\BackupClient with the following contents:
    additional.options.1=-Dsyncrify.custom.home=C:/YourNew/Path/For/DataFolder
    Ensure, the file name is service.properties and NOT server.properties or service.properties.txt
  • Open an elevated Command Prompt (Run as administrator)
  • Change the current directory to the installation folder by typing:
    cd "C:\Program Files\BackupClient"
  • Uninstall the service by using the following command:
    BackupClient -uninstallService
  • Reinstall the service by using the following command:
    BackupClient -installService


On Linux and other platforms


On Linux and other platforms, you will have to modify the shell script that is used to run Syncrify Client. Simply add -Dsyncrify.custom.home=/tmp/data text after java, for example:
java -Dsyncrify.custom.home=/tmp/data -jar SyncrifyClient.jar $*


Replace /tmp/data with the actual path




Add a comment to this document

Do you have a helpful tip related to this document that you'd like to share with other users?

Important: This area is reserved for useful tips. Therefore, do not post any questions here. Instead, use our public forums to post questions.

Navigation

Social Media

Powered by 10MinutesWeb.com