Feature Description:The script is used to transfer the local directory to the remote server on a regular basis (in conjunction with crontab), with each execution generating a time-named directory, and the current version of the data is linked to a symbolic link with the first name, so it is easy to find and recover. Before the data transfer is complete, it is transferred to the TEMP directory, which is named "Time-incomplete". Backups older than 10 days will be deleted and log files older than 1
have been accustomed to using rsync + SSH server file synchronization, but before the command parameters to find similar mkdir-p function, you can synchronize a specified file automatically on the target server to create a complete parent directory on demand. For example, some of the automatically generated directory files by month and year need to be synchronized when the file is generated:
Copy Code code as follows:
Rsync architecture and rsync Architecture
1.1 rsync server configuration
1.1.1 view the server rsync version
1.1.2 after the rsync program is installed by default, the main configuration file of rsync is not automatically creat
six different modes of operation, of which the fourth and seventh modes do not differ greatly. In these modes the third and sixth patterns are often used, especially the third model. These six modes can be differentiated by two words in general: push, pull. The push is to execute the rsync command on the client to push the files that the client needs to synchronize to the server. Pull also executes the rsync
other I/O errors.
True
Ignore nonreadable
Specify that the rysnc server ignores all files that the user does not have access. This makes sense when some files in the directories to be backed up should not be obtained by the backup owner.
False
Timeout
This option overwrites the specified IP timeout time. This ensures that the rsync server will not always wait for a crashed cli
1. Using Ssh+rsyncYou only need to open the SSH service on the server side and start the rsync service in xinetd to useA. Incremental synchronizationrsync-av/src-dir/. [email protected]:/dest-dir/.B. Mirroring synchronizationRsync-av--delete/src-dir/. [email protected]:/dest-dir/.Features: Simple configuration, no need to configure rsyncd.conf profile, but requires user authentication during synchronizationNote: You can create an auto-sync encryption
"! = "X"];then echo "rsync service is running!" else echo "Rsync service is not running!" fi} function Rsyncrestart () {if ["${status1}x" = = "X"];then echo "rsync service is not running ..." Rsyncstart else rsyncstop rsync--daemon--config=/usr/local/server/rsync
Tags: res rsync specifies create List start service technology RTP UIDI. Introduction of RSYNC ToolsRsync is a data-mirroring Backup tool under Unix-like systems, and--remote sync can be seen from the name of the software. Rsync is a file synchronization and data Transfer tool under the Linux system that uses the "
Rsync configuration details this article describes 2.4.6 rsync compilation and installation is very simple, just need the following simple steps: [root @ www rsync-2.4.6] #. /configure [root @ www rsync-2.4.6] # make [root @ www rsync-2.4.6] # make install but note that you
opens a port 873 and waits for the client to connect. During connection, The Rsync server checks whether the password matches. if the password is checked, file transmission can be started. When the first connection is complete, the entire file will be transferred once, and later only incremental backup is required. Rsync supports most Unix-like systems, includin
[Rsync implements website backup, file synchronization, and file synchronization in different systems. If it is windows, Windows Version cwrsync is required]
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 othe
IntroductionFor small and medium-sized enterprises or websites that choose linux as the application platform, they often face the problem of how to implement remote data backup or website image. Although there are commercial backup and image products available, however, these products are often too expensive. Therefore, how to use free software to efficiently implement remote
Linux O M and architecture-rsync and linux-rsync
1. rsync IntroductionRsync is a tool for Synchronous backup of full and incremental local or remote data images
Common rsync Command Parameters
Command parameter description-a (-- archive) archive mode indicates that the file
Rsync configuration commands 1. What is Rsync-Rsync Configuration Parameter Details Rsync (remote synchronize) is a remote data synchronization tool that allows you to quickly synchronize files between multiple hosts through the LAN/WAN. Rsync uses the so-called "
92.3.2 Test Command 92.4 rsync Multi-module Configuration 102.4.1 Editing a configuration file/etc/rsyncd.conf 102.4.2 Creating a directory and assigning permissions 112.4.3 Restarting the Rsync service 112.4.4 testing on the client 112.5 rsync Multi-User Configuration 112.5.1 Editing a configuration file/etc/rsyncd.conf 112.5.2 Creating a password file/etc/rsyn
Rsync + inotify for data synchronization and FAQs
Rsync: Remote Sync is a data image backup tool for Unix-like systems. Rsync can be used to back up data with low real-time requirements. For example, you can use the specified backup file server to back up data to the specifi
Directory1 application Scenarios for remote file synchronization 2. rsync+crontab3. Rsync+inotify1. Application Scenarios for remote file synchronizationIn a load-balanced cluster scenario, there is often a load Balance Server on the front end of multiple Web servers that provides1 The client accesses a unified domain name to this load Balance, for example: Www.test.com,Load Balance Server allocates the req
[Rsync implementation of Web site backup, file synchronization, different system files synchronization, if it is windows, need Windows version Cwrsync]
First, what is rsync
Rsync,remote synchronize as implies to know it is a remote synchronization function of the software, it synchronized files at the same time, you ca
This article will introduce you to the detailed guide on rsync synchronization settings for linux servers. I hope some methods will be helpful to you.
I. Introduction (skip this step if you don't want to see it)After the EMOS server is migrated, the new server is set up and tested. Next, it is very important to migrate the mail data in the old mail system completely. You can choose to copy the data, but it is inevitable that some emails will be lost (
technical documents, to share with you, hope to help.
First of all, the introduction of Rsync and INotify, are found on the Internet information. First of all, the following rsync and inotify introduction is not my own writing.
1, rsync
Compared with the traditional CP and tar backup methods,
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.