Implementation of file synchronization mechanism based on Rsync + Find command under Linux

Source: Internet
Author: User
Tags rsync

Rsync and find is the Linux system comes with the command, if not installed can find the system installation disk or ISO file, there is a RPM package, install it. The concrete idea is as follows: 1) can realize the timing of rsync. The System timer task can take care of this matter, see the following URL: for example:
      #crontab-E   0 * * 1-5 rsync-ave ssh 192.168.0.103:/my/my                      http://fenglingcorp.iteye.com/blog/1286102    &N bsp;         2) to synchronize data by a specified folder. Using the--include    --exclude parameters of rsync, see: For example: rsync-nrv --include-from=/root/shell/test.include --exclude=/*                       http://www.111cn.net/sys/linux/53409.htm              3) You can select a time period for synchronizing files. For example, to synchronize files between 2014-01-2014-02, this can be specified. See also: For example: Synchronizing files up to 30 days prior to 60 days rsync-avz-e ssh--files-from=< (find-mtime +30-mtime-60) source dest                     http:// www.commandlinefu.com/commands/view/1481/rsync-find      &NBSP;&Nbsp;            http://www.92csz.com/11/921.html              4) The breakpoint continuation function has been resolved by rsync itself. The MD5 used by rsync is verified.              

Implementation of file synchronization mechanism based on Rsync + Find command under Linux

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.