Mirror your SOHODOX File Store to a folder on your NAS drive and keep them in sync.

Mirror your SOHODOX File Store to a folder on your NAS drive and keep them in sync.

The purpose of this article is to help you mirror your SOHODOX File Store to a folder on your NAS drive. (Please note this will just help you create an exact mirror of the File Store folder and is different from a backup. This is becauseo if a file is deleted in SOHODOX (i.e from the SOHODOX File Store), then the copy of that file will be deleted from the mirrored folder as well). 

All documents added to SOHODOX are added to a Windows folder known as the SOHODOX File Store.  The File Store is the 'C:\Sohodox databases\MainDB\Default File Store' folder. 

To know the location of the File Store for your SOHODOX installation....
  • Start SOHODOX.
  • Click on Settings. 
  • Click on the 'File Stores' node in the left pane. A list of File stores will be displayed on the right.
  • The 'Folder Path' column will display the location of the File Store.
Note: As a precaution we would recommend you to manually zip and make a copy of this folder, before proceeding with the steps below.

Install FreeFileSync

Please download the software FreeFileSync from the link below...

https://freefilesync.org/download.php

Please download and install the software. (During the installation, the setup may prompt you to install Opera browser or other software. You may choose 'No,Thanks'  for that)

Usage
  • Launch FreeFileSync.
  • Click the File>>New option.
  • You will notice 2 sections on the right of the 'Configuration' section.
  • In the left Drag and Drop section, you will need to specify the 'Source' folder. Browse to the SOHODOX file store folder. 
  • In the right Drag and Drop section, you will need to specify the 'Target 'Folder. Browse to a folder on the NAS.
  • Click the 'Synchronization Settings' button. (the green gear icon). You can also launch this dialog using the keyboard shortcut key F8.
  • Select the variant as 'Mirror'. In the bottom right, choose the operation to be performed on Completion.
  • Click OK.
  • Click the File>>Save as Batch Job option. The Save As Batch job dialog will appear.
  • Specify a location to save the log file. Click the 'Save As...' button.  Provide a name for the batch file. The batch file will have a 'ffs_batch' extension.
  • Click the Synchronize button on the top right.
  • The files will be synchronized from the Source folder to the target folder.

Scheduling the mirroring.

So that these folders remain in sync, you can schedule to run the above sync on a periodic basis via the Windows Task Scheduler.

To do this...
  • Press the Windows + R key.
  • The Run dialog will be launched.
  • In the Open textbox, type taskschd.msc
  • Click OK.
  • The 'Task Scheduler' dialog will be launched.
  • In the Actions pane, click on 'Create Basic Task...'.
  • Provide a name for the Task. Click Next.
  • Select a Trigger for the task. Click Next to select the schedule for the trigger. Click Next.
  • Select the option 'Start a program'. Click Next.
  • Specify the location of the 'FreeFileSync.exe' in the Program/script section. (This is usually "C:\Program Files\FreeFileSync\FreeFileSync.exe".
  • In the Add arguments textbox, specify the location of the ffs_batch file. (Make sure you specify the path within double quotes. For e.g "C:\My Documents\FS Mirror.ffs_batch")
  • Click Next. 
  • Click Finish.
If you have any queries, please feel free to write to support@sohodox.com


    • Related Articles

    • Migrating SOHODOX v10 or above to a new machine

      Note: The instructions in this article will only work for... users who only want to move the SOHODOX to another machine. users using the latest version (v10) of SOHODOX. SOHODOX is configured with the DB Engine utility (a utility which converts your ...
    • Install and Configure SOHODOX to be accessible from Multiple-Machines

      Step 1: Install SOHODOX on Server machine Install SOHODOX in Server mode on the Server machine or any machine on the network. 1. Double click the sdxsetup.exe setup file to run it and follow the onscreen instructions. 2. Choose Single User ...
    • File not found

      Cause:  Windows user is not able to access the file store in which the Sohodox documents is located. Troubleshoot: Step 1: Check if the File store is accessible. To confirm this ... Open SOHODOX. Click on Settings>DB Settings>>File Stores. A list of ...
    • Backup using the new SOHODOX Database backup utility

      Please note this utility will backup only the database and not the documents. Please download the SOHODOX DB backup utility from the link below… https://downloads.sohodox.com/tools/backup/latest/sohodox-backup-database.zip Instructions… Make sure no ...
    • Convert your existing SQL Express Sohodox DB to SQL Server Standard/Enterprise Sohodox DB

      Note: The below instructions will only work if… You have an existing installation of SQL Server Standard or Enterprise (if you are unsure, drop an email to support@sohodox.com) You have purchased the SQL Server upgrade module. You have the new ...