I. Introduction
Rsync is a common backup tool, which is currently maintained by rsync.samba.org.
Rsync uses the so-called "rsync
Algorithm ", Provides a very fast file transfer method to synchronize the files between the local and remote hosts. It is mainly used to transfer the changes of the two files, instead of transmitting the entire copy each time, the spee
Rsync Introduction
Rsync is a file synchronization and data transmission tool in Linux and UNIX systems. It uses the "rsync" algorithm to synchronize files between a client and a remote file server, unlike the limitations of cp and wget commands, it supports Incremental backup, so the file transmission efficiency is high, so the synchronization time is short. The
How to Use rsync in Linux
For various organizations and companies, data is the most important to them. Even for e-commerce, data is equally important. Rsync is a tool/software that backs up important data through the network. It is also a network protocol for synchronizing folders and files between systems through the network on Unix-like and Window systems. Rsync
file to be backed up. (Does not overwrite the updated file)-L,--links reserved Soft link-L,--copy-links to handle soft links like regular files--copy-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 inf
directory 2. remote sh Ell mode rsync-rv/etc/passwd 172.16.1.3:/tmp # copy passwd to remote host 3. list mode rsync-r 172.16.1.3:/tmp # The first three modes of viewing files in the remote directory can be implemented using ssh. We will study the fourth www.2cto.com plan: Master: 172.16.1.2Slave: 172.16.1.2 1. install and configure rsync1.1 on the Master node. J
1th ChapterThinking1.1How to use one clickAnsibleBuild1.1.1First Step goalThe first thing we want to make clear is that we need to implement a one-click Automation script that executes a script and then automates the installation of Nfs+rsync+sersync andthen lets web01 automatically mount the NFS shared directory. 1.1.2Second step relationship clear and sequentialNow that we have a goal, what we need to do is we need to understand the sequencing of au
LS command -- local file information view rsync command is 1 V 4 command1.4 remote copy
# Use rsync to copy the oldboyedu.com file under the/root directory on the 41 host and copy it to the local directory rsync-avz [email protected]:/root/oldboyedu.com. /# copy the file rsync-avz [email protected]:/root // backup/# P
file to be backed up. (Does not overwrite the updated file)-L,--links reserved Soft link-L,--copy-links to handle soft links like regular files--copy-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 inf
rsync->>> Remote Synchronize
Oh, do not have to explain it, or explain it, the meaning of the document synchronization said ...
The first step is to download the free software first.
rsync.samba.org/or Samba.anu.edu.au/rsync.
The latest version of this site download the address
Http://www.jb51.net/softs/2149.html
PS: Must go to the official website to download the latest version,
Because the previous vers
I. Introduction of RSYNCrsync (remote Synchronize) is a long-distance data synchronization tool that can synchronize multiple hosts with Lan/wan quickly, and Rsync uses the "Rsync algorithm" for synchronization between the local host and the remote host, which is not the whole transfer of the algorithm every time. It transmits only the different parts of the data that are backed up between two computers, so
Rsync synchronization error handling and rsync synchronization error
1. incorrect user password
@ERROR: auth failed on module testrsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6]
Check whether server A stores the password file and server B password file.Server A password file:/etc/rsyncd. secrets format: username: passwordServer B password File:/etc/rsyncd. se
to handle soft links like regular files--copy-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-linksKeep Hard Links-P,--permsKeep 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
colon ":" delimiter. such as: Rsync-a/data/backup2. use a remote shell program (such as rsh, SSH) to copy the contents of the local machine to the remote machine. This mode is started when the DST path address contains a single colon ":" delimiter. such as: Rsync-avz *.c foo:src3. use a remote shell program (such as rsh, SSH
Tagged with: Linux rsync data Sync rsync detailedrsync commandRsync has six different modes of operation:1) Copy the local file. This mode of operation is initiated when both the SRC and des path information do not contain a single colon ":" delimiter.Rsync-a/data/backup2) Use a remote shell program (such as rsh, SSH) to copy the contents of the local machine to
server mode.Features of Rsync:The entire directory tree and file system can be saved in a mirror.Can incrementally synchronize data, file transfer efficiency is high, so synchronization time is very shortCan keep the original file permissions, time and other propertiesEncrypt and transmit data to ensure the security of dataYou can transfer files using RCP, SSH, and so on, or you can transfer files directly through the socket connection.Support for an
For the configuration of rsync, please refer to the blog:http://www.cnblogs.com/snsdzjlz320/p/5630695.htmlExperimental environment(1) rsync server: 10.0.10.158(2) rsync client: 10.0.10.173
I notify are configured on the client side1. Check if the system supports inotify# ls/proc/sys/fs/inotify/ max_queued_events max_user_instances max_user_watches # Th
Rsync timing synchronization configuration and rsync synchronization ConfigurationAttach script
For the three configuration files, see rsync installation and configuration.
#!/bin/sh#linuxsir.org home backup #/usr/bin/rsync -avzP --password-file=/etc/rsyncd.secrets root@192.168.145.129::test /home/test/$(date +'%s-%m-%
shell program (such as rsh, SSH) to copy the contents of the local machine to the remote machine. This mode is started when the DST path address contains a single colon ":" delimiter. such as: Rsync-avz *.c foo:srcUse a remote shell program (such as rsh, SSH) to copy the contents of the remote machine to the local machine. This mode is started when the SRC addre
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.