rsync command

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

Linux command to monitor if Rsync has finished transmitting data

System: CentOS 5.xSoftware Required: rsyncScript content: The code is as follows Copy Code #!/bin/bashFile= ' Du-sm/var/www/vhosts/|awk ' {print $} 'Ps= ' ps-c rsync--no-header|wc-l 'If ["$file" = "11517"];thenecho "Files downloaded!"ElseIf ["$ps" = "1"];thenKill-9 $ (PS aux | grep rsync |grep-v grep| awk ' {print $} ')Sleep 1Nohup sh/root/rsync.sh Elseecho "

Use the rsync command to synchronize the specified file configuration

Sometimes all files need to be synchronized to the specified directory, including subdirectories.Confirm the file name to be synchronized before execution.# Rsync-avmn -- include = '*/' -- include = '*. pdf' -- exclude = '*'/SRC // DEST/The execution results of the following two commands are the same. The specified files under the SRC Directory (all PDF files, including subdirectories) are synchronized to the DEST directory, bu

Slime: Synchronization of Linux Files Rsync Learning (i)

This article by show according to Lin Feng to provide friendship sponsorship, starting in the mud row world. Just have a few days to start learning Linux file synchronization software rsync, when learning rsync, we can be divided into the following several steps: 1. What is rsync? 2. How rsync Works 3.

Rsync architecture and rsync Architecture

2 [root @ backup ~] # Ps-ef | grep rsync | grep-v grep // view rsync process 3 root 2764 1 0? 00:00:00 rsync -- daemon 4 [root @ backup ~] # Netstat-lntup | grep rsync // check whether the port corresponding to rsync is up. 5 tcp 0 0 0.0.0.0: 873 0.0.0.0: * LISTEN 2764/

Rsync configuration, rsync configuration file

synchronization. Ii. System Environment System Platform:CentOS release 6.3 (Final) Rsync version:Rsync-3.0.9-2.el6.rfx.x86_64.rpm Rsync server:TS-DEV (17w..1.135) Rsync client:TS-CLIENT (172.16.1.136) Iii. Installing rsync on the server 3.1. Check whether rsync has been ins

Linuxrsync use _ rsync for file sync backup from linux to linux (windows) _ rsync

Rsync is a data image backup tool in Linux. It can be seen from the software name-remotesync. Rsync supports most Unix-like systems, including Linux, Solaris, and BSD. I. rsync CommandIntroduction Rsync is a command for Synchronizing files to a Linux system. It can synchroni

Set up rsync Data Synchronization backup and rsync Data Synchronization for Small and Medium-sized Clusters

Set up rsync Data Synchronization backup and rsync Data Synchronization for Small and Medium-sized Clusters Important NFS Problems 1. NFS client users write NFS. 1) Why do ordinary users need to write NFS. 2) Add all_squash to exports.What is Rsync? Rsync is an open-source, fast, and versatile tool that supports full o

Set up rsync Data Synchronization backup and rsync Data Synchronization for Small and Medium-sized Clusters

Set up rsync Data Synchronization backup and rsync Data Synchronization for Small and Medium-sized Clusters Important NFS Problems 1. NFS client users write NFS. 1) Why do ordinary users need to write NFS. 2) Add all_squash to exports.What is Rsync? Rsync is an open-source, fast, and versatile tool that supports full o

Linux implementation Inotify+rsync Real-time synchronization system

}-avzcr--port 3375--password-file=${rsync_passwd_file} $ (dirname ${ino_file}) ${user}@${ip1} :: ${des} # Ino_file variable represents path oh-C checksum file contents ${rsync}-AVZCR--port 3375--password-file= ${rsync_passwd_file} $ (dirname ${ino_file}) ${user}@${ip}::${des} # Take a closer look at the rsync Sync command source above is a $ (dirname ${ino_fi LE

Rsync working mechanism (translation), rsync working mechanism Translation

matching sources, so that the sender does not need to send parts that match these data sources ). To achieve this remote data matching, a block checksum code (block checksum) will be created for the basis file and sent to the sender immediately after the file index number (file id. If the "-- whole-file" option is specified, an empty block check code will be sent for the new file (that is, the file that the sender has but the file that the consumer does not. (Note: generator sends the block ver

Rsync random start script and rsync script

drive rsync startupChkconfig -- level 2345 rsync on The following error was found during script execution:/Bin/sh ^ M: bad interpreter: No file or directory Error analysis:Because the operating system is windows, the script I edited in windows may have invisible characters.The script file is in DOS format, that is, the end of each row is identified by \ n \ r, and its ASCII code is 0x0D, 0x0A. There are

Rsync + inotify for data synchronization and FAQs

:@ ERROR: Unknown module 'TEE _ nonexists'Rsync error: error starting client-server protocol (code 5) at main. c (1522) [runner ER = 3.0.3] Cause:The specified module does not exist on the server. 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/

Introduction to Rsync and Crontab and automatic backup using rsync and crontab

execute can be either system commands or script files that you write yourself. In each of these fields, you can also use the following special characters: Asterisk (*): represents all possible values, such as the month field if it is an asterisk, the command action is executed monthly after the constraints of other fields are met. Comma (,): You can specify a list range with a comma-separated value, for example, "1,2,5,7,8,9" Mid-Bar (-): You can us

Linux O & M and architecture-rsync and linux-rsync

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 (--

Rsync configuration details

= NoUser = rootServer =/usr/bin/rsyncServer_args = -- daemonLog_on_failure + = userid} Above, We need to enable the rsync daemon. Once an rsync client is connected, xinetd will forward it to rsyncd (Port 873 ). Then the service xinetd restart takes effect. Rsync server and Firewall Linux Firewall uses iptables, so we should at least let the defined

Detailed description of file sync backup configuration using RSync

connected, xinetd will forward it to rsyncd (port 873 ). Then the service xinetd restart takes effect. Rsync server and Firewall Linux Firewall uses iptables, so we should at least let the defined rsync server port pass through on the server side, and the client should also pass through. # Iptables-a input-p tcp-m state -- state NEW-m tcp -- dport 873-j ACCEPT# Iptables-L check if port 873 is enabled in th

Rsync configuration details

[% a] % m (% u) % f % l". Generally, "% t [% p]" is added to the header of each line. In the source code, a perl script program named rsyncstats is released to collect statistics on log files in this format. Timeout overwrites the specified IP timeout value. This option ensures that the rsync server will not always wait for a crashed customer. Timeout is measured in seconds. 0 indicates that no timeout is defined. This is also the default value. An i

Rsync, rsync

directory read-only. uid and gid are the users and user groups used for synchronization. Pid file and log file are the storage addresses of pid files and log files. Test Is the synchronization directory, and path is the synchronization directory. Note that the variable is followed by a comment such as # XXX. If it is added, a chroot error is returned. In addition, hosts allow restricts the synchronized ip addresses. Multiple ip addresses are separated by spaces. Auth users and secrets files are

Server Data synchronization Via Linux rsync, rsync+inotify between Load Balance Server

. Inotify is a powerful, granular, asynchronous file system event monitoring mechanism, from the Linux kernel to 2.6.13, joined the INotify support, through the inotify can monitor the file system Add, * *, modify, mobile and other subtle events, using this kernel interface, third-party software can monitor the file system under the various changes, and inotify-That's how tools are. A third-party software3. Server Performance1) rsync+Crontab will peri

[Rsync]--rsync file synchronization and backup

. Create a directory, edit a password file# mkdir/etc/rsync# Vim/etc/rsync/password 123123 #格式是 "Password" # chmod 600/etc/rsync/password #修改密码文件的权限 Parameters of the Rsync synchronization command-V indicates verbose detailed display-Z means compression-R means r

Total Pages: 15 1 .... 3 4 5 6 7 .... 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.