/rsyncd.conf #创建配置文件, add the following code
Log file =/var/log/rsyncd.log #日志文件位置, which automatically generates this file when you start rsync, without having to create it in advance
Pidfile =/var/run/rsyncd.pid #pid文件的存放位置
Lock file =/var/run/rsync.lock #支持max connections parameter
Secrets file =/etc/rsync.pass #用户认证配置文件, which saves the user name and password, which is later created
MOTD file =/etc/rsyncd. MOTD #
Article Title: linux Rsync synchronization backup storage configuration tutorial. 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.
Master server: 192.168.0.220 (CentOS 4.4)
Slave server: 192.168.0.248 (CentOS 5)
============================ 1> install
situations.In this example, I added the archive switch (-a), which is actually equivalent to using several rsync switches at the same time. It includes a recursive and duplicate symbolic link switch, a retention group and a master attribute switch, in short, to make rsync suitable for archival copies. Note that the-a does not retain hard links, and you should also add a hard-link switch (-h) if you want.An
Xtrabackup+rsync backing up the database and synchronizing to the remote backup machineSimple architecture:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6E/54/wKiom1V5N5yzcxrsAAErWN2NyIE784.jpg "title=" FA ( R87X$_VX) {%ckh7klhd.png "alt=" Wkiom1v5n5yzcxrsaaerwn2nyie784.jpg "/>Simple description:To back up the intermediate three servers above the database data to the
Linux Rsync data Image and backup steps 1: install rsync to download the latest rsync package, the latest package in http://rsync.samba.org/rsync Find it. You can use the rpm Package for installation. I have applied the source code here. For some reason, I prefer to install
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-
First, the experimental environment
Host Name
Network card IP
Default Gateway
Use
Nfs-server
10.0.0.11
10.0.0.254
Rsync Server Side
web-client01
10.0.0.12
10.0.0.254
Rsync Customer Service Side
web-client02
10.0.0.13
10.0.0.254
Rsync Customer S
I did not use, save the reference later
Reprint Source: Http://outofmemory.cn/wr/?u=http%3A%2F%2Fsmilejay.com%2F2012%2F02%2Frsync_remote%2F
Two days ago, I checked the department's test data and file backup situation, see the crontab has an rsync script, I look carefully, manual execution is actually not working properly, mainly because rsync there can not be au
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 permissio
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 m
CentOS Remote Backup Using rsync
This article provides a quick way to back up the most common things in a typical Web host scenario: website files and database data. We will set up a complete daily backup of the folder of a website and copy the data to a remote server (this can also work on another VPS ). We will also set up an
Tags: ACK path deployment Disabled related configuration HTTP VIM als GREThis article describes the way rsync takes a daemon approach to data transfer backup, hoping to provide some help for learning about Rsync's children's shoes.First, the environment1, prepare two servers, one for the server side, one for the client side2. Logic diagramIi. rsync server-side de
.txt34Test.txtSent bytes received 451 bytes 1282.00 Bytes/secTotal size was 0 Speedup is 0.00Method Two: Do not specify the user on the rsync server sideModify the configuration file rsyncd.conf on the rsync server to remove the configuration entries for the authentication account (auth user and Secrets file):# sed-i ' S/auth users/#auth users/;s/secrets file/#secrets file/'/etc/rsyncd.confThe above command
Rsync Simple and quick configurationRsync enables full-scale and incremental local or remote data backup. One rsync is equivalent to SCP,CP,RM but better than each of them because rsync is such a useful piece of software that many Linux distributions are included.Of course, you can also go to the official RYSNC officia
Rsync is a foreign synchronization tool, which can be synchronized between platforms. Next I will introduce you to rsync in detail how to synchronize backup server files, for more information, see.
Rsync is a fast incremental file transfer tool. It can be used for internal backup
In addition, rsync + inotify enables Real-time Data Backup
Advantages and disadvantages of rsync
Compared with traditional cp and tar backup methods, rsync has the advantages of high security, fast backup, and support for Incremen
is 52 speedup is 0.18
5. implement automatic data synchronization and manually write a small script. [Root @ localhost ~] template defined on the server after the colon # Vim rsync. Sh #! /Bin/bash/usr/bin/rsync-avz -- password-file =/etc/rsyncd. Secrets benet@192.168.1.1: Benet/OPT add automated backup [root @ localhost ~] # Chmod + x/root/
Rsync + inotify enables real-time server backup, rsyncinotify
Inotify:
Inotify is integrated into the kernel. inotify is used as a third-party software to monitor directory changes through the interfaces provided by the kernel.
The inotifywait command can monitor fine-grained real-time changes to files in the directory. The monitored command is
Inotifywait-mrq -- timefmt '% d/% m/% y % H: % m' -- format' %
Article Title: remote backup from Linux to Windows using rsync (group chart ). 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.
Rsync is a data image backup tool in Linux. It can be
Due to the company's recent business requirements to build a set of services specific requirements such as:650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/80/14/wKiom1c2mXDAecrxAAEM4w1pCJ0525.png "title=" nb% Qz7d%%zfqv[{i) 5p6b (g.png "alt=" Wkiom1c2mxdaecrxaaem4w1pcj0525.png "/>1. Basic Backup Requirementsknown 3 server host names are a (WEB01),B (Backup) ,C (nfs01), respectivelyRequirements :
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.