1.rsync Introduction"Rsync is a data-mirroring backup tool for Linux systems. Use the Quick Incremental Backup tool Remote Sync can be synchronized remotely, support local replication, or synchronize with other SSH, Rsync hosts2.rsyncfeatures and features of1. can make backup of various resources of server (can boast f
Rsync is a data mirroring Backup tool under Unix-like systems.It has the following characteristics:The entire directory tree and file system can be saved in a mirror.It is easy to keep the original file permissions, time, soft and hard links and so on.Install without special permissions.Fast: When you synchronize for the first time, rsync copies the entire content, but only the modified files are transferre
group information.-D,--devices maintains device file information.-T,--times keep file time information.-S,--sparse special handling of sparse files to save DST space.-N,--dry-run which files will be transmitted.-W,--whole-file copy files without incremental detection.-X,--one-file-system do not cross file system boundaries.-B, the block size used by the--block-size=size test algorithm is 700 bytes by default.-E,--rsh=command specifies the use of rsh, SSH
1. IntroductionRsync is a remote data synchronization tool that enables one rsync server to back up multiple client data at the same time, requiring Scp,ssh,daemon support with a default port of 873.Rsync + Crond can achieve data timing synchronization, Rsync + inotify can achieve real-time data synchronization.The
and devices.
2) You can exclude the synchronization of specified files or directories, which is equivalent to the packaging command tar.
3) You can keep the permissions of the original file or directory, and keep all attributes such as time, hard and soft links unchanged.
4) incremental synchronization is implemented, that is, only the changed data is synchronized, so the data transmission efficiency is higher.
5) You can use rcp, rsh, ssh, and other
First, rsync is a Unix-like system of data mirroring backup tools, from the name of the software can be seen-remote syncFeatures are as follows:1, can be mirrored to save the entire directory tree and file system.2, it is easy to maintain the original file permissions, time, soft and hard links and so on.3, no special permission can be installed.4, the optimized process, the file transmission efficiency is high.5, can use RCP,
is 44867 speedup is 1.63$
Parameters:
2. Use rsync-a to keep the time mark during Synchronization
Rsync option-a is called archive mode. perform the following operations:
$ rsync -azv /var/opt/installation/inventory/ /root/temp/building file list … done./sva.xmlsvB.xml.sent 26499 bytes received 1104 bytes 55206.00 bytes/sectotal size is 44867 speedup is 1.63$
is only used to synchronize updated files to avoid repeated updates to non-updated files. Note the clock synchronization between the two machines.
-- Progress indicates that the detailed progress is displayed,
-- Delete: if the server deletes the file, the client also deletes the file to ensure true consistency. The following roger@192.168.5.13: linuxsirhome, after linuxsirhome is the module name, that is, in/etc/rsyncd. the name defined in conf. roger is the user name that can be synchronized
Tags: emctl tool RSA Data rsync service Switch Delta ROC workAbout RsyncRsync is a data-mirroring backup tool for Linux systems, using the Fast incremental Backup tool remote sync to remotely synchronize, support local replication, or synchronize with other Ssh,rsync hosts
Rsync-A archive mode-V Verbose output-Q
RSYNC software introduction: rsync is a data image backup tool in unix-like systems. It can be seen from the software name-remote sync. Its features are as follows: images can be used to save the entire directory tree and file system. It is easy to maintain the permissions, time, and soft links of the original file.Installation without special permissions. Optimized process, high file transmission efficienc
How to use rsync under LinuxSpit Groove After summing up the SCP yesterday, I saw that there was finally a talk about Rsync, a cloud: Curiosity killed the cat. With the attitude of learning to find out the rsync, and then carried out some simple study. Here are a few common commands. The scp:12 of the previous article is a file for the SCP transfer of chestnuts.
Tags: rsync introduction rsync common options rsync six modesI. Introduction of RsyncThe rsync command is a remote data synchronization tool that enables fast synchronization of files between multiple hosts via Lan/wan. Rsync uses the so-called "
equivalent of RM command , the contents of the/tmp directory is replaced into empty. rsync-avz--delete/null//tmp 3) Remote copy rsync supports "local , remote", "remote-to-local" copies of both sides, does not support "remote-- remote" copy PayPal . Rsync's network features are available in two ways:SSH service and rsync--daemon service. Push: Copy the
Rsync is a data-mirroring backup tool for Linux systems, and--remote sync is visible from the name of the software. Rsync supports most Unix-like systems, which are well tested on Linux, Solaris, and BSD. The latest version of Rsync can be obtained from http://rsync.samba.org/rsync/. It has the following characteristic
target host SSH-MNF Create a persistent connection to the target host in the background, and this command will be~/.ssh/config is used in conjunction with: Host Hostcontrolpath~/.ssh/master-%[email protected]%h:%pcontrolmaster no all SSH connections to the target host will use persistent
After configuring the Rsync server, you need to issue an rsync command on the client to back up the files on the server to the client. Rsync is a very powerful tool, and its commands have many special options. The following describes the options one by one. The Command Format of www.2cto.com Rsync can be as follows:
Rsync is a data image backup tool in Linux. It can be seen from the software name-Remote Sync. Rsync supports most UNIX-like systems, including Linux, Solaris, and BSD. The latest version of rsync can be found at http://rsync.samba.org/rsync. Its features are as follows:
1. images can be used to save the entire directo
-links retains the hard link
**-P **, -- perms maintains the File Permission
**-O **, -- owner keeps file owner information
**-G **, -- Group maintains the file group information.
**-D **, -- devices keeps the Device File Information
**-T **, -- times maintains the file time information
**-S **, -- sparse performs special processing on sparse files to save DST Space
**-N **, -- dry-run which files will be transmitted in reality
**-W **, -- whole-file: copy a file without incremental Detection
**
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.