Upon completion of this course you should be able to:
Course Prerequisites:
None
Students are expected to have a working knowledge of:
N/A
1. Introduction to Rsync
2. Using Rsync
2.1 Enabling the Rsync server service on the remote ASUSTOR NAS
2.2 Creating an Rsync backup job on the local ASUSTOR NAS
3. Rsync - Best Practice
3.1 Centralized backup (for multiple sites)
3.2 Offsite backup
Rsync is a network protocol that is used to synchronize files and directories from one location to another. It provides block level replication and is appropriate for use with files and data that are always changing. By providing block level replication, Rsync is able to offer incremental backup. Incremental backup allows for successive backup jobs (after your first backup job) to only copy data that has changed since your last backup job. For example, if you have made some small changes to a 10 MB file, incremental backup will only copy the portions that you have made changes to. By only transferring the differences between two sets of files, Rsync can help you to significantly reduce bandwidth usage.
In the following example, we will take you through the process of using Rsync to backup data from a local ASUSTOR NAS to a different remote ASUSTOR NAS.
ASUSTOR NAS is able to function both as an Rsync server and Rsync client which means you can either use your NAS as a centralized backup server or back up your NAS to another NAS or Rsync compatible server.
In this section we will enable the Rsync Server service and then proceed to create a backup module for storing backup jobs. Please remember that you must enable the Rsync Server service on an ASUSTOR NAS before you are able to use Rsync to back up to it.
STEP 1
STEP 2
STEP 3
User authentication is optional for backup modules. Rsync server on ADM does not use ADM user accounts and passwords. To use Rsync with authentication, you’ll need to create Rsync-specific users with their own passwords.
In this section we will create and execute a backup job to the remote ASUSTOR NAS using a local ASUSTOR NAS.
Note:
STEP 4
STEP 5
Note: You can see the list of backup modules created by the remote NAS introduced in section 2.1.
STEP 6
Note: You can also select [Scheduled backup] to create regular backups. Here you can set the frequency of repeated backups during the backup period. (New to ADM 4.2.1)
STEP 7
Note: Here you will also see additional checkboxes for a variety of backup options. These options are described as follows:
Here you will also see additional options if using one on one folder backup.
STEP 8
STEP 9
In the following examples we will introduce you to a couple of best practice scenarios using Rsync in conjunction with ASUSTOR NAS.
Rsync is a commonly used command in Linux systems. You can refer to the following example to use the Rsync command on Linux devices for backup files to ASUSTOR NAS. Enter "rsync --help" to query more command options.
ASUSTOR NAS can be used as a centralized backup server for multiple sites. Centralized backup can be executed in the following two ways:
Pull Backup
In "Pull Backup", data from multiple sites are "pulled" onto the centralized backup server (NAS) for backup. The backup jobs are all initialized by the centralized backup server. The centralized backup server is able to schedule backup jobs at different times, thereby avoiding potential congestion and bandwidth issues.
For a Pull backup, you can use an ASUSTOR NAS as the centralized backup server, and create Rsync backup jobs on this ASUSTOR NAS. Please select [Another ASUSTOR NAS -> Your NAS] or [Rsync-compatible server -> Your NAS] for the transfer mode.Please refer to section 2.1 on how to create backup modules on each remote NAS as well as how to set which folders for backup to this ASUSTOR NAS.
Rsync Server
In "Rsync Server", ASUSTOR NAS acts as a centralized Rsync backup server. The backup jobs are all initialized by their respective sites. The potential disadvantage of this setup is that too many sites initiating backup jobs simultaneously could lead to congestion and bandwidth issues.
For ASUSTOR NAS devices that serve as an Rsync server, please refer to section 2.1 on how to create backup modules to back up the data of another remote NAS. When creating a Rsync backup job on another remote ASUSTOR NAS, please select [Your NAS -> Another ASUSTOR NAS] to select a transfer mode.
Data from your NAS can be backed up offsite to a remote site for extra security. You can use the [Remote Sync] function found under the [Backup & Restore] system app to back up your NAS to either another ASUSTOR NAS or an Rsync compatible server. The main purpose of offsite backup is for disaster recovery in the event of environmental disasters, theft, and hard disk or other mechanical failures. With data already backed up offsite, disaster recovery efforts should be uncomplicated and straightforward.