1, Rsync IntroductionRsync is an open source, fast, versatile and excellent tool for full-scale and incremental simultaneous backup of local or remote data, and rsync software works on nunix/linux/windows multiple operating systems.Official website: http://www.samba.org/ftp/rsync/rsync.htmlRsync English is all called remote rynchronization.Features of the Rsyn:1)
First, the basic introduction of rsync1. What is rsyncRsync is an open source, fast, multi-functional, incremental local goods remote data mirroring synchronous backup of excellent tools, rsync use and unix,linux,windows and other platforms2, the characteristics of rsync1) Support for copying special files2) can have exclude specified file or directory3) can maintain the original file or directory permissions4) can achieve incremental synchronization,
Rsync is so convenient for file backups that I feel I have to install it on my own server. The rsync server here is a simple and rough configuration (directly on the code), for details do not do in-depth discussion, but it is certain that the server must be able to run up, for the novice this is the most important, is not it?A What is rsync
, and we'll analyze all of its options below.The command format for rsync can be in the following six ways:rsync [OPTION] ... SRC DESTRsync[option] ... SRC [User@]host:destrsync [OPTION] ... [user@] HOST:SRC DESTrsync [OPTION] ... [user@] HOST::SRC DESTrsync [OPTION] ... SRC [user@]host::D ESTrsync [OPTION] ... rsync://[user@]host[:P ort]/src [DEST]For each of the above six command formats,
After the rsync server configuration is over, the next step is to issue an rsync command on the client to enable the server-side files to be backed up to the client. Rsync is a very powerful tool, and its commands have many feature options, and we'll analyze all of its options below.
The command format for rsync can be
1. What is rsync?
Rsync, remote synchronize is a software that implements remote synchronization. It can keep the permissions, time, soft and hard links, and other additional information of the original file while Synchronizing files. Rsync uses the "rsync algorithm" to provide a fast way to synchronize files between c
] ~] # Rsync-azvn/boot // test -- delete
Sending incremental file list
./
Deleting test. File
........
// Adding parameter n is the result of pre-execution, but it is not actually executed
[[Email protected] ~] # Rsync-AZV/boot // test -- delete
Sending incremental file list
./
Deleting test. File
........
// Remove parameter n and delete it synchronously. Keep the same
Note: If the source folder is not fo
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 director
1. Introduction of environment and related softwareOperating system: ubuntu12.04_x64Source Server (push): 192.168.18.10Target server (Backup): 192.168.18.20Rsync:Rsync is a data mirroring Backup tool under UNIX systems and is a fast incremental backup tool (remote sync) that supports local replication or synchronizes with other SSH (secure transfer) and rsync hosts.Rsync has the following common parameters:
rsync command ParametersAfter the rsync server configuration is complete, the next step is to issue the rsync command on the client side to back up the server's files to the client.Rsync is a very powerful tool, and its commands have a lot of feature options, and we have an analysis of its options below.The command format for
= "% a % f % l" # log format = "% o % h [% a] % m (% u) % f % l "[rsyncroot] comment = rsync root path =/use chroot = no max connections = 4 read only = true # read only = false list = true uid = root gid = root auth users = rootuser secrets file =/etc/rsyncd. secrets hosts allow = 1.1.1.1, 2.2.2.2 hosts deny = 0.0.0.0/0 ignore errors = yes transfer logging = yes log format = "% a % f % l" rsyncd. secrets has one user name in one row: use the Java co
synchronization. The PID file and log file store addresses for PID files and journal files.Test is the synchronization directory, path is the synchronization directory, note that the variable is annotated, such as #xxx, plus the reported chroot error. In addition, hosts allow is limited to synchronous IP, with multiple IP spaces separated. Auth Users and Secrets file are authenticated user and password files, respectively. Where the secrets file permission must be 600, otherwise the synchroniza
Rsync: a very practical file synchronization command, rsync is very practical
Sync is a file synchronization and data transmission tool in Linux. It can be used to synchronize files and release code.
1. install.
Yum install-y xinetdYum insatll-y rsync
2. ConfigurationEnable rsync vim/etc/xinetd. d/
of sparse files to save DST space.-N,--dry-run reality 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 that data is synchronized using RSH and SSH.--RSYNC-PATH=PATH Specifies the path information f
Article Title: Rsync introduction to file processing commands. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
After Rsync completes data backup, this operation will be automatically terminated. For this purpose, it is best to add a "-a" option (for files) and "-e" optio
"Tutorial topic": rsync"Course recording": Gen E"Main Content""1" rsync introductionrsync (remote Synchronize) is a long-distance data synchronization tool that allows Multiple hosts to be synchronized quickly via Lan/wan, andrsync uses the " Rsync algorithm "to synchronize between the local host and the remote host, the algorithm is not every time the entire t
. Finally, the goal is to keep the data on the Linuxsirhome folder completely consistent with the server, so be careful when you use it. It is best not to take the folder that already has important numbers as the local update folder, otherwise it will delete all of your data. ( --password-file=/etc/rsyncd.secrets )(+) rsync-avz--password-file =/etc/rsync.password [email protected]:/home/public//test/Password Copy mode: ( password copy via
The rsync command format can be in the following six ways: Rsync [OPTION] ... SRC DEST rsync [OPTION] ... SRC [[Emailprotected]]host:dest Rsync [OPTION] ... [[emailprotected]] HOST:SRC DEST rsync [OPTION] ... [[emailprotected]] HOST::SRC DEST
Description1. Rsync Service EndSystem: Ubuntu Server 11.10IP Address: 192.168.21.168Data storage directory:/home/mysql_data2, Cwrsync clientSystem: Windows Server 2003IP Address: 192.168.21.130Synchronized Directories: D:\mysql_data to achieve the purpose: Cwrsync Client automatically synchronizes data from/home/mysql_data directory in rsync server to D:\mysql_data directory every day 3:00 First,
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.