Remote disaster recovery backup via Linux Data mirroring Backup tool rsync

Source: Internet
Author: User
Tags file system rsync backup linux

First, the introduction of rsync

Rsync is a data mirroring Backup tool under the Linux system that enables you to back up local system data over the network to any remote host, and Rsync has the following characteristics:

Can be mirrored to save the entire directory tree and file system

Data can be incrementally synchronized, file transfer efficiency is high, so synchronization time is very short.

You can keep attributes such as permissions, time, and so on for existing files.

Encrypted transmission of data to ensure the security of the data.

Second, the installation and use of rsync

Then we introduce the use of rsync through an example, here we assume that there are a, B two Linux systems, a system running business, b system as a remote disaster recovery backup machine, then a system is the service side of Rsync, B system is the client of rsync. You need to install rsync software on both A and B systems so that you run the rsync daemon on a system, and b systems can periodically back up the data specified on a system through the system daemon crontab. Thus the remote disaster tolerance of the data is realized.

Our installation environment is:

Operating system: Red Hat Enterprise Linux Server Release 5

Kernel version: Linux Web 2.6.18-8.el5

A system IP address: 192.168.60.253

b System IP Address: 192.168.60.231

1. Install rsync on both A and B systems

RYSNC's home address is: http://rsync.samba.org/, the version we download here is rsync-3.0.4, then compile and install:

[Root@web ~] #tar zxvf rsync-3.0.4.tar.gz

[Root@web ~] #cd rsync-3.0.4

[Root@web rsync-3.0.4]#./configure

[Root@web rsync-3.0.4]# make

[Root@web rsync-3.0.4]# make install

This completes the installation of rsync.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.