QNAP Turbo NAS Software User Manual

Remote Replication

Remote Replication

Previous topic Next topic No directory for this topic  

Remote Replication

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  


Rsync Replication


The NAS data can be backed up to a remote NAS or Rsync server by Rsync remote replication. If the backup destination is a NAS, go to “Backup” > “Backup Server” > “Rsync Server” and enable the remote NAS as an Rsync backup server.


1.To create a replication job, select the replication type by clicking on the corresponding tab, NAS to NAS, RSYNC, or RTRR. Then, click “Create a Replication Job”.


2.Enter a job name and click “SETTINGS” to configure the remote server.


3.Enter the IP address, port number, username and password to login the remote server. The default port number is 873. Note that the login username must have read/write access to the remote server and sufficient quota limit on the server. Click “TEST” to verify the connection. Then click “APPLY”.


4.Specify the local folder by clicking the box with "Please select..." words under "Source Folder:".  After expanding and locating the folder, double click the folder to set it as the directory where the data will be replicated from.


5.Specify the destination folder by clicking the box with "Please select..." words under "Destination Folder:". Locate the folder in the folder tree and double click the folder to set it as the directory where the data will be replicated to. And, click "ADD" to add this pair of replication folders.


Note: The order of selecting the source and destination folders can be changed. The above is just an example.


6.Click "BACKUP FREQUENCY" to configure the backup frequency.

Select to replicate the data immediately or specify the backup schedule.


7.Specify other options as follows for the remote replication job by clicking the "OPTIONS" button and click "APPLY".
Enable encryption: Select this option to execute encrypted remote replication. Note that you must turn on “Allow SSH connection” in “Network Services > “Telnet/SSH” and specify the same port number for SSH and encrypted remote replication.
Activate file compression: Turn on this option to allow file compression during the data transfer process. This option is recommended for low bandwidth environment or remote replication over WAN.
Perform incremental replication: When this option is turned on, after the first-time replication, the NAS will only back up the files that have been changed since the last backup. The files of the same name, size, and modified time will not be copied again. You are recommended to turn on this option for the replication job which will be executed for more than once in order to shorten the backup time.
Delete extra files on remote destination: Select the option to synchronize the source data with the destination data (one-way synchronization). Extra files on the destination will be deleted. Source data will remain unchanged.
Handle sparse files efficiently: A sparse file is a type of computer file that contains large blocks of zero-byte data. Turning on this option may reduce the time required for remote replication.


8.Click “APPLY”. If you select the "Execute backup immediately" option, the replication task will start at once. Otherwise, it will be performed according to your schedule. Note that the job is recursive. Do not turn off the local NAS and the remote server when remote replication is running.





Start a replication job immediately.

Stop a running replication job.

View Rsync logs (replication results).

Edit a replication job.

Disable replication schedule.

Enable replication schedule.


To configure the timeout and retry settings of the replications jobs, click “Options”.


Timeout (second): Specify a timeout value for each replication job. This is the maximum number of seconds to wait until a replication job is cancelled if no data has been received.
Number of retries: Specify the number of times the NAS should try to execute a replication job should it fail.
Retry intervals (second): Specify the number of seconds to wait in between each retry.


For example, if you entered 600 seconds for timeout, 3 retries, and 60 seconds for retry intervals, a replication job will timeout in 600 seconds if no data is received. The NAS will wait for 60 seconds and try to execute the job a second time. If the job timed out again, the NAS wait for another 60 seconds and retry for a third time.


RTRR Replication


Real-time Remote Replication (RTRR) provides real-time or scheduled data replication between the local NAS and a remote NAS, an FTP server, or an external drive, or replication between two local folders. In real-time mode, the source folder will be monitored and any files that are new, changed, and renamed will be replicated to the target folder immediately. In scheduled mode, the source folder will be replicated to the target folder according to the pre-defined schedule.


If the backup destination is a NAS, you must first enable RTRR server (“Applications” > “Backup Server” > “RTRR Server”) or FTP service (“Network Services > “FTP Service”) on the remote NAS.


NAS models


Maximum number of replication jobs supported

Intel-based NAS

Prior to v3.5.0


v3.5.0 or above


ARM-based (Non Intel-based) NAS

Prior to v3.5.0

RTRR replication not supported.

v3.5.0 or above


*Each job supports maximum 5 folder pairs.


If your NAS models are not listed below, please visit http://www.qnap.com for details.

Intel-based NAS

TS-x39 series, TS-x59 series, TS-x69 series, TS-509, TS-809, TS-809 Pro, TS-809U-RP, SS-439 Pro, SS-839 Pro, TS-x59 Pro+, TS-879 Pro, TS-1079 Pro, TS-879U-RP, TS-EC879U-RP, TS-1279U-RP, TS-EC1279U-RP

ARM-based (Non Intel-based) NAS

TS-x10, TS-x12, TS-x19 series


Follow the steps below to create a replication job.


1.To create a real-time or scheduled remote replication, click “Create a Replication Job”.


2.When the wizard shows up, click “Next”.


3.Select the sync locations. Make sure the destination device has been formatted and folders have been created. The NAS supports:
Synchronize data from a local folder to a remote folder (NAS or FTP server)
Synchronize data from a remote folder (NAS or FTP server) to a local folder
Synchronize data from a local folder to another local folder or an external drive

Click “Next”.


4.Enter the IP address or host name. Select the server type (FTP server or NAS server with RTRR service enabled).


Remote replication to FTP server:

Specify the port number and if you want to enable FTP with SSL/TLS (Explicit) for encrypted data transfer. If the FTP server is behind a firewall, enable passive mode. Enter the username and password with read/write access to the server. Click “Next”.


Remote replication to NAS with RTRR service:

Enter the IP address of the RTRR service-enabled server. Specify the connection port and select whether or not to enable secure connection. The default port number for remote replication via RTRR is 8899. Enter the password for RTRR connection. Click “Next”.


5.Select the folder pair for data synchronization.

Note: If a folder or its parent folder or child folder has been selected as the source or destination in a folder pair of a replication job, you cannot select the folder as the source or destination of another folder pair of the same job.



6.Select “Add More Folder Pairs” to add more folder pairs for backup.

Each sync job supports maximum 5 folder pairs. Select the folder pairs and click “ADD”. Click “Next”.


7.Choose between real-time and scheduled synchronization. Real-time synchronization copies files that are new, changed, and renamed from the source folder to the target folder as soon as the changes are made after the first-time backup.


Note: RTRR does not support bi-directional synchronization in the current version. The folder pair cannot be synchronized between two NAS servers in real-time mode. To synchronize the data between the folder pair of two NAS servers, please use scheduled backup.


Scheduled synchronization copies files from the source folder to the target folder according to the pre-configured schedule. The options are:

Replicate Now: Replicate data immediately.
Periodically: Enter the time interval in hour and minute that the backup should be executed. The minimum time interval is 5 minutes.
Hourly: Specify the minute when an hourly backup should be executed, e.g. enter 01 to execute backup each first minute of every hour, 1:01, 2:01, 3:01...
Daily: Specify the time when a daily backup should be executed, e.g. 02:02 every day.
Weekly: Select a day of the week and the time when a weekly backup should be executed.
Monthly: Select a day of the month and the time when a monthly backup should be executed.


8.To configure synchronization policy, select “Configure policy and filter” and click “Next”.


Select whether or not to enable the following options:

Delete extra files: Delete extra files in the target folder. Deletions made on the source folder will be repeated on the target folder. This option is not available for real-time synchronization.
Detect sparse files: Select this option to ignore files of null data.
Check file contents: Specify to examine file contents, date, size, and name to determine if two files are identical. This option is not available for real-time synchronization.
Compress files during transmissions: Specify whether or not the files should be compressed for sync operations. Note that more CPU resources will be consumed.
Ignore symbolic links: Select this option to ignore symbolic links in the pair folder.
Extended attributes: Select this option to keep the information in extended attributes.
Timeout and retry settings: Specify the timeout period and retry settings if a sync operation fails.


9.Specify the file size, file types to include/exclude, and file date/time to filter data synchronization.
File size: Specify the minimum and maximum size of the files to be replicated.
Include file types: Specify the file types to be replicated.
Exclude file types: Specify the file types to be excluded for replication.
File date/time: Specify the date and time of the files to be replicated.


10.Enter a job name. Click “Next”.


11.Confirm the settings and click “Next”.


12.Click “Finish” to exit the wizard.





Enable connection to a remote server.
Start a replication job.

Stop connection to a remote server or external drive.

Stop a replication job.

View job status and logs; download logs.

Edit the connection settings of a remote server.
Edit the settings of a replication job.

Delete connection settings to a remote server.
Delete a replication job.

This button is available only after a replication job is stopped or the connection to the remote server is stopped.


To edit the replication job properties, click “Options”.


Under “Event Logs” you can select to enable “Download Detailed Logs” and specify the maximum file size of the log file. You can also select to send an email alert when synchronization fails or completes. Note that the SMTP server settings must be properly set up on the NAS (“System Administration” > “Notification”).


Specify the replication policy in “Policy” and filter settings in “Filter”. These will become the default settings for all RTRR replication jobs.


Download replication job logs:


To view the status and logs of a replication job, click .


You can view the details of a replication job.


You can view the job logs or download the logs by clicking “Download Logs”. The log file can be opened by Microsoft Excel or other text editor software. Note that this button is only available after you have enabled “Download Detailed Logs” in “Options” > “Event Logs” and executed the replication job once.


© 2013 QNAP Systems, Inc. All Rights Reserved.

Bookmark and Share