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
> Use rsync to synchronize data from the server. Here we only talk about one-way synchronization.
First install rsync
# Server ConfigurationThe server uses 'xinetd' to act as the 'rsync' daemon. If not, install> Xinetd listens to a specified port, fork the service program corresponding to the configured port, and then continues to listen.
#1. Configure the xinet
Chapter 4: synchronizing servers with rysnc and SSH
1. rsync. This book describes ha and load balance. This chapter mainly describes how to synchronize files and content on the two servers. The content on the two servers must be exactly the same during the HA process. In this way, when one server fails, the other server can take over immediately. Of course, if the two servers have no disks and share one storage, this is unnecessary. If not, do these
First, preface1. Rsync principle and Rsync+inotify trigger synchronization http://nmshuishui.blog.51cto.com/1850554/13870482. This article explainsTo ensure absolute reliability of the data:First, all of the server's data is packaged and backed up in a local copy, as in the previous blogSecond, separate out a PC to do the backup machine, for the rsync client, ti
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)
1. what is rsyncrsync? remotesynchronize is a software that implements remote synchronization while synchronizing files, you can retain additional information such as the permission, time, and soft/hard link of the original file. Rsync uses the "rsync algorithm" to provide a fast way to synchronize files between clients and remote file servers. It can also transmit files through ssh, which ensures high conf
Server Configuration:Prerequisites: xinetd and rsync are installed.1. Modify the/etc/xinetd. d/rsync FileChange disable = yes to no in the following contentService rsync{Disable = yesSocket_type = streamWait = noUser = rootServer =/usr/bin/rsyncServer_args = -- daemonLog_on_failure + = USERID}2. Configure rsync to auto
Rsync remote Synchronization Service
Inotify-Tools for Real-Time Synchronization
NTP Network Time Service
######################################## #################
I. Rsync remote Synchronization Service
1. Basic operations of rsync Synchronization
Format: rsync source document target document
Common
1. What is rsync? (Theory)In short, the main feature is to achieve full and incremental data. local and remote data backup tools are also suitable for indows.Official http://www.samba.org/ftp/rsync/rsync.htmlRsync supports rm deletion between local directories.It synchronizes data based on the file size and modification time.You can also back up data based on different permissions. You need to specify param
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
. Provide the correct module name or modify it on the server to the module you want to solve the problem.
Question 1:Problems encountered on the client:Rsync-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 mod
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
Master server: 192.168.5.13 _ ubuntu
Slave server: 192.168.5.11 _ centos
=======================1> install rsync on both hosts ========
Install ubuntu as follows:
Compile and install: download this Free Software
Rsync.samba.org/or samba.anu.edu. au/rsync
Download the latest version from the official website.
Decompress the package to the directory and run #./configure make install
Normally, the
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,
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.