Some questions need to pay attention to use rsync

The advantage is that rsync incremental replication, and supports daemon mode, used to make a backup is great, I've been using the good. But rumors that there are some issues that need attention, so the record about here

  1. A large number of small files synchronized
    than a long time, sometimes, during synchronization rsync process will hang. The problem the new version will be better, because the old version is later than the first copy of the new version is an edge-to-edge than copy
  2. Synchronize large files
    such as 10G or larger files, the synchronization process may be interrupted. rsync file synchronization is not completely hidden. Then you can resume achieved by --partial parameters
  3. v3.0.9 bug that
    when this version is said to push large files, happened the server file system has been changed to read-only horror BUG
  4. Speed Limitation of
    high-capacity backup may take up a lot of bandwidth, and even affect the business, you can take in several aspects of the strategy
    a, - bwlimit = KBPS speed limit
    b, in the business trough backup
  5. Pay attention when you synchronize the directory
    rsync -avz / data represent synchronize directories
    rsync -avz / data / file synchronization representation in the directory

In addition, a one-time remote synchronization using scp, after a one-time backup of a large number of small files can be packaged first synchronization.

Guess you like

Origin www.cnblogs.com/Go-Spurs-Go/p/11328123.html