1. Reference documents:Using Cwrsync to implement scheduled synchronization of files under Windows (Backup)How to use the File Synchronization tool Cwrsync and the common commands2. Background:In the current SCADA architecture, there are 1 server,5 units FE and 1 client units. The schema is as follows:Although the names are different, their installation files and configuration files are exactly the same. In
Description1. Rsync Service EndSystem: CentOS 5.5IP Address: 192.168.21.160Data storage directory:/data/osyunwei2, Cwrsync ClientSystem: Windows Server 2003IP Address: 192.168.21.130Synchronized Directories: D:\osyunweiTo achieve the purpose:Cwrsync client automatically synchronizes data from/data/osyunwei directory in rsync server to D:\osyunwei directory every day 3:00
First, rsync service-side configuration
1. Close SELinuxVi/etc/selinux/config #
Description1. Rsync Service SideSystem: CentOS 5.5IP Address: 192.168.21.160Data storage directory:/data/xuersync2. Cwrsync ClientSystem: Windows Server 2003IP Address: 192.168.21.130Directories synchronized: D:\xuersyncPurpose of implementation:Cwrsync client automatically synchronizes data from the Rsync server/data/xuersync directory to the D:\xuersync directory every 3:00 clockOne, rsync server configuration1. Turn off SELinuxVi/etc/selinux/config
In Linux, there is sync, and in Windows There is similar software, that is, cwrsync, which is divided into servers/clients. The latest version is 3.0.1. Download cwrsync
1. Install cwrsync
The installation process is simple. You can install the server. The server includes the client function. After the server is installed, the rsync and SSH services are added to
Cwrsync Download Address
Http://sourceforge.net/projects/sereds/files/cwRsync or download to s.jb51.net
Cwrsync Division client and service end two parts, take Cwrsync 4.0, respectively corresponding to Cwrsync_4.0.5_installer.zip and Cwrsyncserver_4.0.5_installer.zip
Installation:
Client installation is relatively
Description1. Rsync Service EndSystem: Ubuntu Server 11.10IP Address: 192.168.21.168Data storage directory:/home/mysql_data2, Cwrsync clientSystem: Windows Server 2003IP Address: 192.168.21.130Synchronized Directories: D:\mysql_data to achieve the purpose: Cwrsync Client automatically synchronizes data from/home/mysql_data directory in rsync server to D:\mysql_data directory every day 3:00 First, rsync serv
Linux has sync, Windows also has similar software, is Cwrsync, this software is divided into server-side/client. The latest version that can be found is 3.0.1. Download Address Cwrsync Download
1, Cwrsync Installation
The installation process is simple, install the server, and the server includes the client's capabilities. After the server has been installed, the
Some time ago I wrote an article on using rsync for batch update in Linux. I can see that there are still a lot of windows servers in online gaming companies. Today I will talk about the batch update method in windows, using cwRsync to synchronize data in windows
I. System EnvironmentWindows 2003 R2 sp2Update source server: 10.8.5.240Target Server: 10.8.5.2 10.8.5.3 ......
Server: cwRsyncServer_4.1.0_InstallerClient: cwRsync_4.1.0_Installer
Ii. Update
Synchronization uses the Cwrsync implementation. Because Windows does not have the INotify function, therefore only then realizes the timing synchronization, I actually use every minute synchronization (considering the user uploads the speed actually is far below the intranet 1GB network speed, therefore this plan is feasible). The specific implementation process is as follows:
1, Software Preparation:Client version:
Description
Cwrsyncserver Service End ip:192.168.21.128
Cwrsync Client ip:192.168.21.129
To achieve the purpose:
Synchronize data from the service-side D:\data directory to the client D:\data directory periodically through task scheduling
Attachment:
cwrsyncserver Download Address and cwrsync Download Address: http://s.jb51.net
Specific actions:
First, install Cwrsyncserver on the service side
Unzi
to continue connecting (yes/no)? Yes/usr/bin/ssh-copy-id:info:attempting to log in with the new key (s), to filter out any that is already installed/usr/bin/ssh-copy-id:info:1 key (s) remain to being installed--if you are prompted now it's to install the new keys[email protected] ' s password:Number of key (s) added:1Now try logging to the machine with: "SSH" [email protected] ' "And check to make sure that is only the key (s) wanted were added.[[email protected] ~]# ls. ssh/Authorized_keys Id_
I found this problem twice and thought it was a server problem because a machine encountered this problem. For security purposes, I canceled the permission to write and modify files. You can solve the problem by modifying the permission of mcafee. In this case, check the directory permission first.
Rsync error: some files/attrs were not transferred (see previous errors)Cwrsync rsync error failed: Invalid argument
A website is built on a server in the school. to ensure data security, you need to back up data files to another computer, including site files and databases. I found it online. in addition to the charged FileGee, there is also a free and powerful cwRsync. CwRsync consists of two parts: server-side software and
A website is built on a server in the school. to ensure data security, you need to back up data f
Download the cwRsync server and client software as follows:
Server: cwRsync_Server_2.0.10_Installer
Client: cwRsync_2.0.10_Installer
Then I installed the server (10.0.2.136) on the local machine, and then installed the client on another machine (10.0.2.20.) in the same network segment. For testing, I put the dnt site file of our product on the drive F on the local machine, at the same time, you are ready to use the aspx and config folders in the site
Download the cwRsync server and client software as follows:
Server: cwRsync_Server_2.0.10_Installer
Client: cwRsync_2.0.10_Installer
Then I installed the server (10.0.2.136) on the local machine, and then installed the client on another machine (10.0.2.20.) in the same network segment. For testing, I put the dnt site file of our product on the drive F on the local machine, at the same time, you are ready to use the aspx and config folders in the site
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 Error Failed:invalid argument
Cwrsync Division client and service end two parts, take Cwrsync 4.0, respectively corresponding to Cwrsync_4.0.5_installer.zip and Cwrsyncserver_4.0.5_installer.zip
1, the installation ofCwrsync service side configuration1 Install the cwrsyncserver server side on the domain server (cwrsyncserver_4.0.5)Note: During the installation process, the default username and password for
Synchronizing data with Cwrsync under WindowsThe Rsync tool under Cwrsync:windowscwrsync:http://itefix.no/cwrsync/If you only need the client function, download the free version.rsync--vazu--delete host::rsyncd_dir/cygdrive/d/destination_dirNotice the cygdrive, this should be a contract.If you write D:/destination_dir directly, you will get an error:The source and destination cannot both be remote.You can w
This does not describe the process of configuring the Rsync service for Linux server-side installations, and there is a need to find relevant tutorials on the Web.1. Installing the Cwrsync Client: http://itefix.no/cwrsync/Download file Cwrsyncserver_4.1.0_installer.zip, unzip and double-click Cwrsyncserver_4.1.0_installer.exe installation, the installation process will create a Svccwrsync user by default2.
Cwrsync client server synchronization software configuration from windows to Windows
Prepare two machines.
Server IP Address: 192.168.1.18
Client IP: 192.168.1.139
Download the cwrsync software:
Server: cwrsync_server_2.0.10_installer.exe
Client: cwrsync_2.0.10_installer.exe
Installation and Configuration:
1. server side:
A.install the cwrsync_server_2.0.10_installer.exe software;
B. Sta
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.