The system provides additional tools that allow to set up an automatic data transfer between the office and the connected sites. There are two main options for setting up the automatic data transfer:

||| Option 1 - Customer organizes site-to-site transfer 
Data replication packages will be automatically created and imported at defined intervals. The actual transfer of those files will be still organized by the customers IT department by using the existing infrastructure for transferring the files between office and sites.
||| Option 2 - Transfer via ZeeBORN server
In addition to option 1) also the transfer will be handled by ZeeBORN tools. For the data exchange between office and sites a dedicated  server will be used for forwarding all files to the other site.
|||

The rest of this topic will concentrate on option 2.

## Preparation

!!!WARNING
Please make sure that all file copies from previous file transfers will be removed from the system before activating the automatic data transfer.
!!!

For enabling the automatic data transfer, you will need to download some additional tools that contain the required functions for establishing the connection to the  server. Please contact [support](/Support.md) for download instructions.

With the tool `ReplicatorConfig.exe` (or executing `.\zeeborn -replicatorconfig` from the command line) in folder `%zeebornclient%` [^1] you can choose the sites you want to enable the automatic transfer for. After checking all sites you want to enable, click `Save` for updating the replication configuration. This step can be skipped on board as the transfer from board will always be sent to the office.

In the download package received from support you will find the files `SFTPClient.exe` and `DataTransfer.cmd`. Please copy those files to folder `%zeebornclient%`.

## Configuration

!!!NOTE This configuation must be done in office and on board.
!!!

### Account Configuration

The configuration of the SFTP server and account to be used for the transfer is now part of the license key.

### Schedule Configuration

The execution of the data replication file will be controlled via the Windows Task Scheduler. Create a new task that runs the batch file `DataTransfer.cmd` at a preferred interval. The interval for the automatic data transfer should be set to no more than once a week and no less than every four hours.

## Monitoring

If any error occurs during an automatic data transfers, a separate entry will be created in log file `%zeebornshared%\logs\errors.log`. If this errors.log file doesn't exist, the transfer is running without problems.

If the file errors.log exist, please check the file for a first indication of the reported problems. Further information can be found in the detailed logs in folders ReplicationImport*, ReplicationExport* and ReplicationImportSys. The status of the replication system can also be checked by starting the Replication module manually and checking the dates of last import and export.

[^1]: see [Environment Variables](/Administration/Environment-Variables) for an explanation of the environment variables used in this document.

*[PO]: Purchase Order  
*[AZA]: local folder
*[(PO]: Purchase Order  
*[RQ]: Requisition  
*[(RQ]: Requisition  
*[RfQ]: Request for Quotation  
*[(RfQ]: Request for Quotation  
*[SO]: Service Order  
*[(SO]: Service Order  
*[SQ]: Service Requisition  
*[(SQ]: Service Requisition  
*[SRfQ]: Service Request for Quotation  
*[OoB]: Open on Board  
*[(OoB]: Open on Board 
*[ART]: Average Running Time (operation hours per day) 
*[MC]: Master Contract
*[ADS]: Advantage Database Server (database engine used in previous versions of the ZeeBORN software)
*[.replic]: file extension for replication files (aka data transfer files)
