Creating an Rsync Backup Job

  1. Go to Backup Station > Remote Replication > Rsync.
  2. Click Create a Replication Job.
  3. Specify a job name.
  4. Configure the remote server.
    1. Click Settings.
    2. Configure the following remote site settings.

      Setting

      Description

      Name or IP address of the remote server

      The remote server DNS name or IP address.

      User name

      The username of the remote user. The user must have full read/write access and a sufficient quota limit on the remote server.

      Password

      The password of the remote user.

      Port Number

      The Rsync port of the remote server. The default is 873.

      Server Mode

      By default, this setting is enabled and Rsync runs on server mode. When disabled, Rsync runs in daemon mode.

      Skip Group ID

      When enabled, Rsync does not replicate the group ownership of files and folders to the remote server.

      Enable encryption

      Rsync transfers are encrypted for additional security. SSH connections must be enabled on the remote server and the remote user must have permission to perform SSH encrypted backup jobs.

      Port number: Set the SSH port of the remote server. The default is port 22.

    3. Optional: Test the remote server connection.
    4. Click Apply.
  5. Select the source folder.

    The source folder is a local shared folder or subfolder.

  6. Select the destination folder.

    The destination folder is a shared folder or subfolder on the remote server.

  7. Click Add.
  8. Optional: Configure job options.
    1. Click Options.
    2. Configure the following settings.

      Setting

      Description

      Activate file compression

      QES compresses the data before sending it to the destination. The destination NAS decompresses the data before saving it to disk. Enabling this setting can reduce transfer times if your NAS or the remote NAS has a slow network connection, or the NAS devices are connecting via a WAN.

      Perform incremental replication

      On the first run of a job, Rsync replicates all files to the remote server. On subsequent runs, Rsync only replicates files that have been modified since the last run.

      Tip:

      QNAP recommends enabling this setting as it can greatly reduce backup times.

      Delete extra files on remote destination

      By default, Rsync only adds new files and updates modified files at the destination. When enabled, Rsync deletes files from the destination folder if they no longer exist in the source folder.

      Handle sparse files efficiently

      A sparse file is a type of computer file that contains large blocks of zero-byte data. When enabled, Rsync replicates sparse files more quickly.

      Remove source files

      QES automatically deletes the source files from the source NAS after the job has run successfully.

      Replicate ACL and extended attributes

      Rsync replicates ACLs for Windows files and extended attributes for Mac and UNIX files.

      Important:

      QES and the remote server must have the same ACL features enabled and must join the same domain.

      Maximum transfer rate (KB/s)

      Configuring this setting limits the bandwidth consumption of Rsync and prevents it from affecting the NAS storage performance. The default value is 0, which means unrestricted bandwidth.

      Check file contents

      By default, Rsync determines if two files in the source and destination are identical by comparing their filenames, last modified dates, and file sizes. When this setting is enabled, Rsync also compares content of both files using checksums.

      Send alert emails when the following events occur

      When enabled, QES sends out an email alert each time a job succeeds or fails. To use this feature, you must first configure the SMTP server on QES. Go to Control Panel > System > Notification > E-mail > SMTP Server.

  9. Configure a job schedule.
    1. Click Backup frequency.
    2. Select Enable schedule.
    3. Specify the schedule.

      The job can be scheduled to run daily, weekly, monthly, or to repeat after a certain number of hours.

    4. Click Apply.
  10. Optional: Select Execute backup immediately.

    The job runs immediately after you finish creating it. Subsequent runs follows the backup schedule.

  11. Click Apply.

QES creates the job and runs it based on the specified settings.