rsync sync

Read about rsync sync, The latest news, videos, and discussion topics about rsync sync from alibabacloud.com

Synchronizing data using Rsync (by quqi99)

Author: Zhang Hua published in: 2015-12-28Copyright NOTICE: You can reprint, reprint, please be sure to hyperlink form to indicate the original source and author information and this copyright notice (http://blog.csdn.net/quqi99) It is urgent to use rsync to sync photos on multiple machines at home. sudo apt-get install rsyncsudo update-rc.d-f rsync removesudo

CentOS 6.5 Inotify+rsync Deployment

Rsync is a remote synchronization software, in the synchronization of files (files and directories) can maintain the original file permissions, modification time, including linked files can also be synchronized.Where does this thing apply? No matter what business you are in, if you have more than dozens of servers, and these servers need to keep the files they have in real time, you will use this tool. For example, you have dozens of Web servers, Web

Rsync Service Deployment

Redhat, you can also use XINETD program management.#vim/etc/xinetd.d/rsyncChange disable to No[Email protected] ~]# NETSTAT-ANPT | grep rsync[[email protected] ~]# kill-9 PID number (ex: kill-9 9290)Note: If the restart fails, first delete the PID file and then start again.[Email protected] ~]# Rm-rf/var/run/rsyncd.pid[Email protected] ~]# rsync--daemon[Email protected] ~]# NETSTAT-ANPT | grep rsync6. Veri

Data synchronization installation configuration method for rsync under Windows _win Server

: @ERROR: ChDir failedRsync Error:error starting Client-server Protocol (code 5) at MAIN.C (1495) [receiver=3.0.2]Workaround: Server-side Sync directory does not have permissions, cwrsync Default User is Svcwrsync. Add user Svcwrsync permissions for the synchronization directory. Error 3: @ERROR: Failed to open lock fileRsync Error:error starting Client-server Protocol (code 5) at MAIN.C (1495) [receiver=3.0.2]Workaround: Add lock file = Rsyncd.lock

Use rsync + inotify-tools in CentOS to synchronize and update data in real time

/255.255.255.0Secrets file =/etc/rsync. pasCreate an rsync authentication File: sync. pas[Format] User: password fileVim/etc/rsync. pasBackadmin: passwordChmod 600 rsync. pasStart the rsync serviceRsync -- daemonServer B

Installation and configuration of Linux rsync _linux

Backup@192.168.18.200::www1/backup/www1–password-file=/etc/rsyncd.passwordchmod u+x/opt/rsyncd.shCrontab-e0 5 * * * sh/opt/rsyncd.sh# sync once every 5 hoursThe following are supplementary:Installation system: Redhat Linux as 4 2.6.9Rsync is a data mirroring Backup tool under Unix-like systems, and--remote sync can be seen from the name of the software. Its characteristics are as follows:Can be mirrored to

Linux rsync Data Synchronization command parsing

Tagged with: Linux rsync data Sync rsync detailedrsync commandRsync has six different modes of operation:1) Copy the local file. This mode of operation is initiated when both the SRC and des path information do not contain a single colon ":" delimiter.Rsync-a/data/backup2) Use a remote shell program (such as rsh, SSH) to copy the contents of the local machine to

Installation and configuration of linux rsync

information.Format: backup: password. The permission must be 600 5. Service restart:/usr/bin/rsync-daemon-config =/etc/rsyncd. conf 6. Client synchronization:Rsync-vzrtopg-delete-progress backup@192.168.18.200: www1/backup/www1-password-file =/etc/rsyncd. password 7. Schedule TasksVim/opt/rsyncd. shRsync-vzrtopg-delete-progress backup@192.168.18.200: www1/backup/www1-password-file =/etc/rsyncd. passwordChmod u + x/opt/rsyncd. shCrontab-e0 5 *** sh/op

Linux Learning record ——— rsync

=/etc/rsync.passwordRsync-avz--exclude-from=/paichu.log/data1/[Email protected]::oldboy/--password-file=/etc/rsync.passwordExclude multiple, write filename that needs to be excluded into a file, and then use the filename created by--exclude-from=Rsync-avz--exclude-from=/root/paichu.log [email protected]::oldboy//data1/--password-file=/etc/rsync.passwordrsync Sync without differences--deltetRsync-avz--delete

Microsoft Sync Framework basics 2: Microsoft Sync Framework architecture and Runtime

Document directory Sync Framework Participants) Sync Framework Core Components Sync Framework system architecture Microsoft Sync Framework architecture and Runtime This article will first introduce various synchronization participants. The types of participants determine whether metadata can be stored and whether

Rsync configuration command details

Rsync configuration commands 1. what is Rsync-Rsync configuration parameter details Rsync (remotesynchronize) 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

Rsync configuration command details

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 "

CentOS 6.0 Install the Rsync Remote Data Synchronization tool

, such as Cwrsync and Sync2nas tools. Install rsync3.0.9 versionhttp://rsync.samba.org/ftp/rsync/Download Address 1, download binary source rsync-3.0.9.tar.gz and patch server and client all use this program.2, decompression unpacking # tar zxvf rsync-3.0.9.tar.gz and patches3. Configure # CD rsync-3.0.9 4 configura

Fast configuration of Rsync file backup service under CentOS

your server back directory name)Rsync configuration is complete!!! You can test the test after you have finished configuring it.Other Notes for rsync:Rsync Security Optimization1) If you only want to transfer between the local area network later. First you can bind the address to an intranet address of the network card.Rsync--daemon--address=192.168.0.2212) If the cross-room in the internet transmission, 1, pull line. 2. Using VPNRsync pros and consP

CentOS6.5 for Rsync+inotify real-time synchronization

, the picture is not deleted from Server B.vi/root/inotify_monitor.shThe contents are as follows:# !/bin/bash # ########################## # Localdir,host,rsync_module,auth_user inwt=/usr/bin/inotifywait #注意路径 My path is:/usr/local/bin/inotifywaitrsync=/usr/bin/ rsyncpass=/root/rsync.pwd###########################For item in ${sync[@]}; Do Dir= ' echo $item | Awk-f "," ' {print '} 'Host= ' echo $item | Awk-f "," ' {print $} 'Module= ' echo $item |

Rsync+inotify Real-time backup

/USR/LOCAL/BIN/RSYNC-VZRTOPG--delete--progress--password-file=/etc/server.pass $src [email protected] $host 3::$ Dst3echo "${files} was rsynced" >>/tmp/rsynclog 2>1DonePut this script in the background to run and add to the self-boot fileSh/root/rsync.sh echo "/root/rsync.sh " >>/etc/rc.localThe relevant parameters in the script are as follows--TIMEFMT the output format for the specified time--format Specify the details of the change fileSometimes thi

Rsync+inotify for remote Data backup

/( where/opt/, simply synchronizing the contents of the/opt/directory, the OPT directory itself is not synchronized, and/opt said that the opt Directory and content are all synced to/tmp )Sending incremental file listCreated Directory/tmp./rh/test/Test/11.txtSent bytes received bytes 340.00 bytes/secTotal size was 0 Speedup is 0.00[Email protected] opt]# LS-L/tmpTotal 8Drwxr-xr-x. 2 root root 4096 Mar-RHDRWX------. 2 root root 4096 Sep 9 10:01 test2) remote transfer (via SSH transmission)Pull:

Rsync+inotify How to implement real-time synchronization of files

--config=/etc/rsyncd/rsyncd.conf" >>/etc/rc.local Second, configure the publishing server 1.1.1.2 Installing Rsync and Inotify-tools # sudo apt-get install rsync inotify-tools # mkdir/etc/rsyncd/ # Vim/etc/rsyncd/rsyncd.pass Iamok Set up automatic synchronization scripts, use Inotifywait Monitor directory, call rsync s

Linux Server rsync synchronization settings

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 (

Usage of rsync

One, usage example 1, incremental backup local file#rsync-av ebook/tmp///Note: It is best not to have the file name:#rsync-AVZRTOPGL--PROGRESS/SRC/DST2. Local and Remote directory synchronization#rsync-AUV--delete Program doc/media/cbdisk/project///sync to USB drive#rsync-AU

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.