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:-v,--verbose Show details of the synchronizat
Rsync + inotify for Real-Time Synchronization
Rsync + inotify for Real-Time Synchronization
1. Install rsync
You can use the yum source to install the rsync service.[Root @ dg test] # yum install rsync
You can also install the source code packageWget http://rsync.samba.org/f
CentOS 6.6 rsync Server and Client configurationBasic information
system version
hostname
ip address
role
centos 6.6
backup
10.0.0.10
rsync server
centos 6.6
lamp01
10.0.0.8
rsync client
CentOS 6.6
Lnmp02
10.0.0.9
Install Rsync
The code is as follows
Copy Code
wget http://rsync.samba.org/ftp/rsync/rsync-3.1.0.tar.gzEnter directory after decompression./configure–prefix=/usr/local/rsyncMakeMake installVi/etc/xinetd.d/rsync
Change the original yes to No
The code is as follows
C
Rsync is a data-mirroring Backup tool under Unix-like systems, which can be seen from the name of the software--remote syncit 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 t
-auzv -- Progress -- password-file =/etc/rsync. Pas root@192.168.133.128: backup/home/Rsync: cocould not open Password File "/etc/rsync. Pas": no such file or directory (2)Password:@ Error: AUTH failed on module backupRsync error: Error starting client-server protocol (Code 5) at main. C (1506) [runner ER = 3.0.7]This problem occurs: the file/etc/
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 has fewer replication options than CP, and you can use the-r and-p options for recursive copying and preserving the original properties,
[Sersync + rsync] centos6.5 Remote File sync deployment records
The local files are automatically synchronized to the remote folder for modifications, which is very useful for remote backup. After studying the mainstream synchronization solutionsRsync + inotify and rsync + sersync. I use the sersync solution here. Of course, most of them are based on previous experiences. Thank you for your selflessness.Ove
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 the following six: rsync [OPTION] ... SRC DEST rsync [OPTION] ... SRC [User@]host:dest rsync [OPTION] ... [user@] HOST:S
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
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 rsync co
"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
First, the advantages and disadvantages of rsync
Compared with the traditional CP and tar backup methods, Rsync has the advantages of high security, fast backup, support incremental backup, etc., through rsync can solve the real-time requirements of the data backup, such as regular backup file server data to the remote server, the local disk regularly do data mi
Label: des style HTTP color Io OS ar sp
(1) download the rsync source code for Installation
(2) 1' CD rsync
2'./configure -- prefix =/usr/local/rsync
3 'make
4 'make install (permissions may be required, plus SUDO)
(3) rsync command synchronization Parameter options (learn more)Rs
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
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
First, rsync basic configuration and introduction1. What is rsync?rsync (rsync-a Fast, Versatile (general), remote (and local) file-copying tool An open source, fast, versatile tool that enables full and incremental simultaneous local or remote data backup is available on multiple operating systems.
Rsync is a powerful synchronization tool. Many projects provide http ftp rsync and other mirror methods. The official homepage of rsync is http://samba.anu.edu.au/rsync /. Rsync (d) Server start in two ways: 1. daemon 2. after xinetd is started, it is bound to TCP/873 port J
in here The introduction of rsync combined with inotify configuration file real-time synchronization method, with the need for a friend reference. About the software I will not introduce more, please refer to the degree Niang! Note : 1. At the time of configuration, the master server and the backup server are clearly divided. 2. When using someone else's script, note the name of the profile referenced in your script.3. Turn off the firewall, test the
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.