1.RSYNC: Remote sync, support local replication, or synchronize with other SSH and RSYNC hosts.Rsync remote synchronization and CP, SCP function basically consistent, the other two is to copy the source files, if there is new data added, using CP, SCP to the source file all the content is copied, and Rsync is on the ba
= /etc/rsyncd.motdport = 873address = 192.168.20.24#uid = nobody#gid = nobodyuid = rootgid = rootuse chroot = yesread only = no# limit access to private LANshosts allow = *hosts deny = *max connections = 5# This will give you a separate log filelog file = /var/log/rsync.log# This will log every file transferred - up to 85,000+ per user, per sync# transfer logging = yeslog format = %t %a %m %f %bsyslog facility = local3timeout = 300[test]path = /home/
I found that this problem has been thought to be a server problem twice, because of a machine appeared this problem, originally for security special cancellation file write and Modify permissions. Through McAfee's modify permissions, the problem is resolved, so there is a problem, first check directory permissions issues.
Rsync Error:some Files/attrs were not transferred (* previous errors)
Cwrsync rsync E
/init. d/rsyncd scriptPid file =/var/run/rsyncd. pidPort = 873Address = 192.168.1.171# Uid = nobody# Gid = nobodyUid = rootGid = root
Use chroot = yesRead only = yes
# Limit access to private LANsHosts allow = 192.168.1.0/255.255.255.0 10.0.1.0/255.255.255.0Hosts deny = *
Max connections = 5Motd file =/etc/rsyncd. motd
# This will give you a separate log file# Log file =/var/log/rsync. log
# This will log every file transferred-up to 85,000 + per user
When files on one server are updated, other servers also need to be updated, and when they are updated
It should be updated only on new or modified files, otherwise it will cause network bandwidth and waste of time. Rsync is able to have
Excellent software that keeps files and directories consistent.
Rsync,remote Synchronize
As implies know it is a remote synchronization function of the software, it synchro
Problem:
Rsync error: pinned ed SIGINT, sigterm, or sighup (Code 20) at rsync. C (503) [Cycler = 3.0.0pre7]-----------------------------Solution:Try adding the following line into "/etc/make. conf"
Code:
Portage_rsync_initial_timeout = 500
For details, see this post:Http://forums.gentoo.org/viewtopic-t-622757-start-0-postdays-0-postorder-asc-highlight-emerge+
If you are a maintenance engineer, you are likely to face dozens of, hundreds of or even thousands of servers, in addition to bulk operations, environmental synchronization, data synchronization is also essential skills.
When it comes to "sync," the weapon that has to be mentioned is rsync, and today is the art of sync I see in this tool.
[With no options]
We
The official site of Rsync is located in http://rsync.samba.orgRsync is a data mirroring Backup tool under Unix-like systems--remote sync. A fast incremental backup tool remote Sync, which supports local replication or synchronizes with other SSH and rsync hosts.
Rsync inclu
Rsync (synchronize) is a remote data synchronization tool that synchronizes files between local and remote hosts using the rsync algorithm.The benefit of rsync is to sync only two different parts of the file, and the same part is not delivered. Similar to incremental backups,This makes it much more time-consuming to de
the words installed:# yum-y Install rsync
To perform an asynchronous synchronization operation:
/usr/bin/rsync-avz--progress rsync@192.168.3.191::backup /www
# crontab-e # (You can sync files every three minutes at timed time)
*/3
* * * * Rsync
@openbsd.nixcraft.in:~/webroot.txt/tmp
Password
Task:synchronize a local directory with a remote directory
$ rsync-r-a-v-E "ssh-l Jerry"--delete openbsd.nixcraft.in:/webroot//local/webroot
Task:synchronize a remote directory with a local directory
$ rsync-r-a-v-E "ssh-l Jerry"--delete/local/webroot Openbsd.nixcraft.in:/webroot
Task:synchronize a local directory
rsync Remote SyncThe correct and effective backup scheme is an important means to ensure the security of the system and data, in the server usually combined with the scheduled task, shell script to perform local backup.rsync (remote sync) is an open source, fast, secure and efficient offsite backup tool that mirrors and synchronizes the entire directory tree across different hosts, supports incremental back
As a system administrator or Linux Power User, your may has probably come across or even on several occasions, used the VE Rsatile Linux Rsync tool, which enables users to expeditiously copy or synchronize files locally and remotely. It is as well a great tool popularly used for backup operations and mirroring.Some of its eminent features and advantages include; It's exceptionally versatile in, it can copy locally, to/from a remote shell or remote
First, preface1. Rsync principle and Rsync+inotify trigger synchronization http://nmshuishui.blog.51cto.com/1850554/13870482. This article explainsTo ensure absolute reliability of the data:First, all of the server's data is packaged and backed up in a local copy, as in the previous blogSecond, separate out a PC to do the backup machine, for the rsync client, ti
[Sersync + rsync] centos6.5 Remote File sync deployment records
The local files are automatically synchronized to the remote folder for modifications, which is very useful for remote backup. After studying the mainstream synchronization solutionsRsync + inotify and rsync + sersync. I use the sersync solution here. Of course, most of them are based on previous exp
target directory space caused by the inability to synchronize the file error.Parameter description———-A is equivalent to a collection of-rlptgod-U is equivalent to –update and is not updated when the target file is newer than the source file-V Show Synchronized files–progress show the percent progress, transfer rate for file synchronization–delete Delete files in the destination directory that are more than the source directory3 Synchronizing between offsite hostsCommand——a)
protected]::wwwfiles to consider./ab100% 0.00kb/s 0:00:00 (2, 66.7% of 6)258 bytes received 95.43 bytes bytes/150995011 speedup is 452080.87Reference:Http://wangchujiang.com/linux-command/c/rsync.html (the above content is transferred from this article)Http://blog.csdn.net/zpf336/article/details/51659666 (example)https://my.oschina.net/jccpp/blog/124941 (example)http://davidbj.blog.51cto.com/4159484/1181388/(example)http://linuxcentos.blog.51cto.com/7176396/1213241 (example)https://yq.aliyun.co
Tags: Linux sync tool rsync?Linux Sync Tool rsyncFirst, rsync CommandThe rsync command is a remote data synchronization tool that enables fast synchronization of files between multiple hosts via Lan/wan. rsync uses the so-called "
Linux rsync incremental Sync method
You can first use Rpm-qa |grep rsync to see if rsync is installedLet's talk about the Rsyns configuration processI. Configuring server-sideFirst edit the/etc/rsyncd.conf content as follows:UID = Nobody #进行备份的用户 nobody for any userGID = Nobody #进行备份的组 nobody for any groupUse chroot =
(1) Download the Rsync source code for installation(2) 1 ' CD rsync2 './configure--prefix=/usr/local/rsync3 ' Make4 ' Make install ( may require permissions, plus sudo resolution )(3) Rsync command Sync parameters option ( learn ) rsync [OPTION ...]Src... DEST The frequent use of the parameters option illustrates:-
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.