Data Backup tool under Linux rsync

Source: Internet
Author: User
Tags rsync

Rsync: Remote synchronization, you can synchronize data locally, will not overwrite the previous data, but the first to determine the existing data and the difference between the new data, only the data will not be the same part of the overlay.

# yum Install Rsync.x86_64-y

Local synchronization

[Email protected] ~]# rsync-av/etc/passwd/tmp/passwordsending incremental file listpasswdsent 959 bytes received B Ytes 1980.00 bytes/sectotal size is 885 speedup is 0.89

Remote sync (sync to another machine, another machine needs to install RSNYC)

[Email protected] ~]# rsync-av/etc/passwd 192.168.221.20:/tmp/password[email protected] ' s password:sending Incremental file listpasswdsent 959 bytes received bytes 220.00 bytes/sectotal size is 885 speedup is 0.89

Rsync's command format

rsync [option] ... src destrsync [option] ... src [[email protected]]host:destrsync [option] ... [Email protected]]host:src destrsync [option] ... [Email protected]]host::src destrsync [option] ... src [[email protected]]host::d EST


Data Backup tool under Linux rsync

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.