segmented block: One is a 32-bit scrolling weak checksum and the other is a 128-bit MD4 strong checksum.3.β These checksum results to alpha.4.α searches for a block of data with all the size S of file A (the offset can be optional, not necessarily a multiple of s) to find a block of data that has the same weak checksum and strong parity code as a piece of file B. This work can be done quickly with the help of scrolling checksums.5.α sends a sequence of instructions to Beta to generate a backup
and hard links, etc.;3. Can be installed without special permission;4. Optimized process, high efficiency of file transfer;5. You can use RCP, ssh and other means to transfer files, of course, you can also through a direct socket connection;6. Anonymous transmission is supported to facilitate site mirroring.There are two ways to use rsync for remote synchronization: remote Shell mode (
One, rsync remote synchronization serverBrief introduction:rsync (remote synchronize) is a data synchronization tool that allows you to quickly sync files between multiple hosts via Lan/wan, or use rsync to synchronize different directories on your local hard drive.Rsync is a tool for replacing RCP, which uses the so-called "rsync algorithm" to synchronize files
-unsafe-links only copies links to links outside the SRC Path directory tree--safe-links ignoring links to the SRC Path directory tree-H,--hard-links reserved Hard link-P,--perms maintain file permissions-O,--owner keep file owner information-G,--group keep file group information-D,--devices keep device file information-T,--times keep file time information-S,--sparse special processing of sparse files to save DST space-N,--dry-run reality which files will be transmitted-W,--whole-file copy files
RSYSNC Mode of operationA third way of working is common in the work, and in order to keep the backup server from being pressured, use push as a backup.650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/8B/29/wKiom1hGGjvCk70bAABQOmYdj3s353.png-wh_500x0-wm_3 -wmp_4-s_2067049537.png "title=" 123.png "alt=" Wkiom1hggjvck70baabqomydj3s353.png-wh_50 "/>The first way is an example:rsync-avz/etc/hosts/tmp/#相当于cp/etc/hosts/tmp/rsync-avz--delete/null//
Scp–secure copy (remote file copy program)SCP = cp + SSH, the SSH protocol will copy files with the remote host.
How to useSCP option File_source File_targetFor remote path, use [email protected]_ip:file form (of course if you use SSH key on the remote host to omit) for example:scp /home/wgjak47/A.md [emailprotected]:/tmp/B.md
About optionsThe SCP h
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 data synchronization using RSH and SSH
--rsync-path=path Specify the path information for the rsync command on the remote server
-C,--cvs-exclude uses the same method as CVs to automatically ignore files to ex
Science Document: Https://wiki.archlinux.org/index.php/RsyncUsed before changing the file system. However, the use of the less right, resulting in some of the file permissions out of the question.[Troubleshoot] [ArchLinux] [Bcache] Modify Linux file system/partition scheme/DO hybrid HDD/system Rebirth Big! Hand! Postoperative (Adjust the underlying schema, no!) Heavy! Mount )Tutorial for full-system backup with rsync: Https://wiki.archlinux.org/index.
--block-size=size test algorithm, is 700 bytes by default-E,--rsh=command specifies data synchronization using RSH and SSH--rsync-path=path Specify the path information for the rsync command on the remote server-C,--cvs-exclude uses the same method as CVs to automatically ignore files to exclude files that you do not want to transfer--existing only updates those
First, rsync is a Unix-like system of data mirroring backup tools, from the name of the software can be seen-remote sync
Features 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,
Linux rsync Command detailed
[Date: 2011-04-28]
Source: Linux Community Author: Linux
1. What is rsyncRsync (remotesynchronize) is a remote data synchronization tool that allows you to quickly synchronize files between multiple hosts by Lan/wan. Rsync uses the so-called "rsync algorithm" to synchronize files between local and remote two
retention soft link knot
-L,--copy-links to treat soft links like regular files
--copy-unsafe-links only copies links that point beyond the src Path directory tree
--safe-links ignores links to the SRC path tree
-H,--hard-links keep hard links
-P,--perms keep file permissions
-O,--owner keep file owner information
-G,--group keep file group information
-D,--devices maintain device file information
-T,--times keep file time information
-S,--sparse special handling of sparse files to sa
Rsync:
Official website: http://rsync.samba.org/
Official documents: http://rsync.samba.org/documentation.html
Tea: The article has not finished, temporarily may not be able to enter your discernment. Please skip.
Note:
1. The permission setting for the password must be 600
First, Introduction:
Rsync is a data mirroring Backup tool under Unix-like systems, and--remote sync can be seen from the name o
I. Overview of RsyncRsync is a data-mirroring Backup tool under Unix-like systems, and--remote sync can be seen from the name of the software. Rsync is a file synchronization and data Transfer tool under the Linux system that uses the "rsync" algorithm to synchronize files between a client and a remote file server, or to back up data from one partition to another on the local system. If
' clocks.
–progress means showing detailed progress,
–delete means that if the server side deletes this file, then the client also deletes the file accordingly, maintaining true consistency.
Later in the rsync_user@192.168.0.2::rsync_module_name1, the rsync_module_name1 is the module name, which is the custom name in/etc/rsyncd.conf, rsync_ User is the username specified in the specified module that can be synchronized.
The final/www is the backup to the local directory name.
In this case,
How rsync works
One rsync
1) Software Overview
Rsync is a remote data synchronization tool that allows you to quickly synchronize files between multiple hosts through the LAN/WAN. Rsync is a tool used to replace RCP, which is currently maintained by rsync.samba.org. Rsync
Rsync is a tool that can back up the system as well as data synchronization.On Jenkins, you can use rsync to combine SSH with a password-free login for data synchronization and distribution. This allows the deployment to be fully imperative, without the need to rely on any plug-in to implement.Command reference: Http://man.linuxde.net/rsyncDescriptionThe
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.