The network disk synchronization function is actually to compare the files on the network disk server with the files of the local synchronization directory, and then automatically copy the new files. Therefore, if you want to implement the synchronization function for users sharing the shared directory with the server, we can only use the Replication tool to auto
rsync->>> Remote Synchronize
Oh, do not have to explain it, or explain it, the meaning of the document synchronization said ...
The first step is to download the free software first.
rsync.samba.org/or Samba.anu.edu.au/rsync.
The latest version of this site download the address
Http://www.jb51.net/softs/2149.html
PS: Must go to the official website to download the latest version,
Because the previous version of 2.6.1 has a configuration module path
executed at timed intervals.Rsync-avzp--progress--delete 192.168.2.86::testapp/cygdrive/d/testapp2. Windows to Linux2.1. Required Software:1) cwrsyncserver (installed under Windows) 2) RSYNCDOfficial address: http://rsync.samba.org/ftp/rsync/Direct download: wget http://rsync.samba.org/ftp/rsync/rsync-3.0.9.tar.gz2.2. Software InstallationWindows installed under the same top 1.2, configuration see above 1.3Installing rsync under Linux can use the Yum tool, or you can manually edit the installat
Article Title: Inotify + Rsync achieves real-time synchronization of linux Files. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open-source, and other basic classification, the company uses a set of systems to synchronize the use of donotify, and does not implement real-time synchronization of sub-directories
First, IntroductionIn the configuration of HA, you need to configure the configuration of multiple nodes, the configuration of the nodes are often similar to duplicate, perhaps through the SCP and other means to achieve, but each change requires manual SCP also seems troublesome, this way we can use Rsync to achieve file synchronization.When using Rsync+crontab to do timed synchronization, the main server s
profile (not by default)Create rsyncd.conf (service profile) separately under/etc/RSYNC.PASSWD (account and password to store client Login rsync service)RSYNCD.MOTD (Welcome or description information when logging into the service, free designation, optional)##########################################################################################vim/etc/rsyncd.conf//Create a service configuration fileUID = rootGID = rootPort = 873//Specify the ports to be accessed, default is 873, or you can s
program, SCP is the meaning of security copy , the commands commonly used by SCP are:[Plain]View PlainCopy
Scp/path/to/source [email protected]:/path/to/local # #本地赋值到远程
SCP [email protected]:/path/to/source/path/to/local # #远程复制到本地
The Rsync command is a remote synchronization program that, compared to the SCP, can back up files at minimal cost, backing up only the files that are different, so that each backup is a lot less time, a
Immediately on the article rsync file synchronization application-server-side configuration, this piece will explain the configuration of the client
Then in the client's words do not need to configure what configuration files, but very upset that these are all the command line, the following will be slowly explained in the client issued rsync command to implement the server-side files back to the client. R
In rsync synchronization settings, if we do not want to synchronize a folder, we can use exclude to exclude the specified folder. Next, I will introduce you to the specific implementation method.
Very common: I want to synchronize/usr/boot/Under/, but I don't want to copy/proc/tmp folders.
If you want to avoid a specific path, add-exclude directly.
For example,-exclude "proc"
-Exclude 'Sources'
Note: the directory path is relative to the folder you ar
Saltstack file synchronization and python callSaltstack file synchronization and python call
Saltstack was written in python2.6. It took a lot of effort to call it in python. first install salt-master (or salt-minion), and then enter the following command:
# Python2.6
>>> Import salt. config
No error. Now you can use p
With the emergence of more and more practical software, people's work and learning efficiency has been greatly improved, of course, the premise is that we take the initiative to accept and learn their use, and change the existing habits. In the past one or two years, the rapid popularization of smart phones has led to the birth of a batch of new utility software. Existing software has also released mobile phone versions, making these software more practical, the two types of software that impres
20 Server Web site root directory want to be consistent, how to keep the file synchronization update?
Reply content:
20 Server Web site root directory want to be consistent, how to keep the file synchronization update?
Must be Distributed file
[Hash] how to set up FTP connection in Webstorm/Phpstorm, and perform file comparison, upload and download, synchronization, and other operations quickly. in addition to opening the localhost file directly, Phpstorm can also connect to FTP, in addition to normal data transfer tasks, you can also compare the similarities and differences between local files and ser
Today I have studied the problem of data synchronization on linux.
Files on server A are synchronized to server B and server C.
Rsync server settings are as follows: (rsync installation is omitted)
Configure Server A as follows:
1. Install the rsync service. Check that the rsync command is ps-ef | grep rsync, And the rsync command is rsync -- daemon .,
2. Configure the/etc/rsyncd. conf file as follows: (man
file;-D is equivalent to block device files;-Z: Transfer-time compression;-P: transfer progress;-v verbose: Verbose mode output-u: is only synchronizing files that have been updated, so that files that are not updated are repeated Note the synchronization of the two machine clocks--progress: Show backup process--delete: Delete files that are not src in DST (this option will be deleted synchronously)③ and t
Migrating to WIN8 users may have a very large experience, that is, a lot of things do not have to back up at any time, copy files also do not have to go through the U disk or mobile hard drive transfer, because the WIN8 itself is enough to complete the synchronization function. In Microsoft's plan, WIN8 will be a system that spans multiple platforms, and the cloud is its key.
Win8 Set Synchronization
On t
, restart the xinted service Rsync system, it needs to be started with a –deamon mode, and the services port is TCP 873 Rsync–deamon–config=/etc/rsyn cd.conf
There are several different ways to start a service at startup, such as:A, join inetd.confEdit/etc/services, add rsync 873/tcp, specify the service port for Rsync is 873Add/etc/inetd.conf, join rsync stream TCP nowait backup/bin/rsync Rsync–daemonB, Join rc.localIn a variety of operating systems, RC
The Cwrsync is an rsync software package based on the Cygwin platform that supports Windows efficient file synchronization for Windows, Windows, Linux, and Linux for Windows. Since Cwrsync has integrated the Cygwin class library, it is possible to save Cygwin packages when installing. Cwrsync also integrates openssh for Windows to achieve exactly the same things as Rsync under Linux. Detailed configuration
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.