For the choice of Linux as an application platform for small and medium-sized enterprises or Web sites, often face how to achieve remote Data backup or Web site mirror image of the problem, although there are commercial backup and mirror products to choose from, but these products are often too expensive prices. So how to use free software to efficiently implement remote backup and Web site mirror image is a topic worthy of discussion.
The easiest way to make remote data backups or Web site mir
For system administrators, the focus of their work should be on maintaining the normal operation of the system and providing services normally. A data backup problem is often involved here, as I know, 80% of system administrators do not care too much about the security of their servers. However, they are often quite interested in the backup image technology, however, because the software and hardware prices of commercial products are quite high, free software is often chosen.
For system administrators, the focus of their work should be on maintaining the normal operation of the system and providing services normally. A data backup problem is often involved here, as I know, 80% of system administrators do not care too much about the security of their servers. However, they are often quite interested in the backup image technology, however, because the software and hardware prices of commercial products are quite high, free software is often chosen. The
1. rsync Full name: remotesync remote synchronization purpose: servers often need to keep some files or directories consistent. for example, some large software download websites usually use multiple servers to provide the download service. When files on one server are updated, other servers also need to be updated. during the update process, only new or modified files must be updated. otherwise
1. rsync
Fu
As far as I know, 80% of the system administrators are not too concerned about the security of their servers, but they tend to be quite interested in the technology of standby mirroring, but because commercial products are expensive in hardware and software, they tend to choose free software. This is the kind of software that is being introduced here to meet the most demanding backup requirements that are not particularly high.
I. Introduction to the Characteristics
Rsync:
Official website: http://rsync.samba.org/
Official documents: http://rsync.samba.org/documentation.html
Tea: The article has not finished, temporarily may not be able to enter your discernment. Please skip.
Note:
1. The permission setting for the password must be 600
First, Introduction:
Rsync is a data mirroring Backup tool under Unix-like systems, and--remote
32nd-foundation of rsync advanced synchronization tool, 32nd-rsync
Directory:
1. rsync Introduction2. How rsync works3. Use the rsync command. parameter description4. install and configure the rsync server on the client1. Server i
I. Introduction of RSYNCrsync (remote synchronize) is a data synchronization tool that allows you to quickly sync files between multiple hosts via Lan/wan, or use rsync to synchronize different directories on your local hard drive. Rsync is a tool for replacing RCP, which uses the so-called "rsync algorithm" to synchro
Rsync Security Configuration and rsync Configuration
I will not talk about rsync deployment here. This article mainly describes how to access rsync through the user name and password:
I. rsync server security configuration
1. Create a password file and modify permissions
Tou
Use reverse CT for rsync for server synchronous backup and rsync server configuration
Use reverse CT to remove the delivery process to Achieve Synchronous server backup
First, install keep CT
Check whether audit CT is installed
Rpm-qa | grep tcl
Tclx-8.4.0-5.fc6
Tcl-8.4.13-4.el5
Second, install keep CT
:
Http://dl.oschina.net/soft/expect
Check the installation location of tcl
Rpm-qa | grep tcl
Tcl-devel nee
Powerful synchronization tool rsync detailed configuration and various gameplay, rsync detailed configuration gameplay
Terms:Sync: SynchronizationAsync: asynchronousRsync: Remote Synchronization
Rsync features:1. images can be used to save the entire directory tree and File System2. It is easy to retain the original permissions (permission, mode), owner, group, t
Rsync is a data image backup tool in unix-like systems. It can be seen from the software name-remote sync
Its features are as follows: Images can be used to save the entire directory tree and file system.It is easy to maintain the permissions, time, and soft links of the original file.Installation without special permissions.Fast: During the first synchronization, rsync
Synchronizing Windows Server software to Linux server implementation
1, General Linux on the default installed with Rsync software
one. View and install
See if Rsync is installed
Command # Rpm–qa | grep rsync
If there is a corresponding rsync version, then the corresponding Linux already has
First, rsync is a Unix-like system of data mirroring backup tools, from the name of the software can be seen-remote syncFeatures are as follows:1, can be mirrored to save the entire directory tree and file system.2, it is easy to maintain the original file permissions, time, soft and hard links and so on.3, no special permission can be installed.4, the optimized process, the file transmission efficiency is high.5, can use RCP, ssh and other means to t
=file Src/zouch/dest/zouchYou can use –explude to write directly to ignore string patterns when ignoring files, or you can specify a configuration file by using –explude-from, which allows you to define multiple string patterns, each of which requires a separate row, where the directory needs to be added with a slash.–explude parameters can be multiple parallel
3. Remove unwanted files from target directory#rsync-azv–delete Src/zouch/dest/zouch
4. B
Purpose: in order to achieve real-time synchronization, we use INotify to monitor the changes in the directory that need to be synchronized, INotify is just a module of monitoring file changes in the kernel, provides the API for monitoring file changes, and to connect this API, The Inotify-tools tool needs to be installed. Can realize the new file, delete, modify, change attributes, etc., the function is very powerful. Now requires a server as a publisher to put the changed files through
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
Mud: rsync configuration file details, mud rsync configuration file
This article was sponsored by Xiuyi linfeng and first launched in the dark world.
The most important and complex rsync server is its configuration. The configuration file of the rsync server is/etc/rsyncd. conf, which controls authentication, access,
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.