, can use RCP, ssh and other means to transfer files, of course, can also be connected through the direct socket.
6, support anonymous transmission.
Ii. Methods of Use
The use of rsync is very simple, I would like to give my own use of examples to illustrate it.
1. System environment
Rsync supports most Unix-like systems, both Linux, Solaris, and BSD are well tested. My system environment is:
Server:fr
Rsync is a data image backup tool in Linux. It can be seen from the software name-remote sync. Rsync supports most Unix-like systems, including Linux, Solaris, and BSD. The latest version of rsync can be found at http://rsync.samba.org/rsync. Its features are as follows:1. images can be used to save the entire director
Rsync is very simple and convenient to use. If used properly, the operation security can be enhanced. In addition, it can also be used as a security detection tool, without the support of any other software, you can complete the Integrity audit of the file system.
Rsync Step 1: Create an rsync directory in d:, decompress all the stuff in the two compressed files
...Connected to 192.168.1.1 (192.168.1.1). Escape character is ' ^] '. @RSYNCD: 30.0Synchronizing data in order to enter the password is not entered manually, we also create a client-side password file (this file path and password to the same server side, the client does not have to write the name) [[email protected] ~]# echo "123" >/etc/ Rsyncd.secrets #文件名可以不一样, but in/etc [[email protected] ~]# cat/etc/rsyncd.secrets123[[email protected] ~]# chmod
/www3. Create a file Rsyncd.passwordPassword note There is only the password, otherwise cwrsyncserver will appear password mismatch error4. Set File Rsyncd.password permissionschmod rsyncd.password #否则会出现 @ERROR: Password file must not being other-accessible error5. telnet 172.24.202.1 873 to test if you can connect to the Rsync server in Windows6. Rsync-avz www/
The company wants to transfer the Web site files on Windows to Linux and complete the site migration, but because the files are too large, you want to choose a tool that is stable and can output large files. After a few tossing, came up with a plan. is to use rsync to transfer large files, first file with 7.zip tools into a tar.gz format, and then use rsync to tr
Turn from: http://www.jb51.net/article/26317.htm
Windows as a file server, use the Windows Services version of Rsync, and then configure it well. Need a friend to refer to under.
Windows as a file server, using the
First, check whether there is rsync. If there is no rsync, an rsync will be installed.
1 configuration file
Then create rsyncd. CONF file, and add the following content (the file does not exist by default) [[email protected] backup] # Cat/etc/rsyncd. conf # rsync_config _____ start # Created by chensiqi 13:40 2017-3-6 # blog: http://www.cnblogs.com/chensiqiqi/##r
Rsync synchronizes Windows and Linux FilesRsync is a data image backup tool (remote sync) in Linux ). A Fast Incremental Backup Tool, Remote Sync, supports local replication or synchronization with other SSH and rsync hosts. 1. install and configure the Rsync software (Linux Server
specify a file or directory, this does not have to introduce more--delete parameter, this means that the server side and the client to maintain exactly the same, the customer segment and the service side of the different file client will be deleted, here the small proposal Novice do not add this parameter, if the service side mistakenly delete the file that all your machines will delete this file, it will be very troublesome, So we can not add this p
For More blog posts please follow: a child without an umbrella must try to run (www.xuchanggang.cn) Rsync Windows Version installation package: (this download is 4.0.5):http://www.pc6.com/softview/SoftView_108644.htmlRsync software includes server side and client sideInstallation of rsync software: Default port: 873Be
Always use rsync over SSH
Since Rsync does not provide the No. Transferring data it is recommended that to use rsync over SSH. This allows a secure remote connection. Now let us-some examples of rsync.
rsync Command common options
--delete : Delete files that don '
1. Purpose of constructionRsync is a popular data synchronization tool that synchronizes data from one server to another, and the following is my process of building rsync. 2.Rsync Service-Side buildingFirst download cwrsyncserver (Baidu has), I used here is the version of 4.0.5.2.1 Click Install this page, here I use the default path, and then next.650) this.wid
After the rsync server configuration is over, the next step is to issue an rsync command on the client to enable the server-side files to be backed up to the client. Rsync is a very powerful tool, and its commands have many feature options, and we'll analyze all of its optio
Master server: 192.168.5.13 _ ubuntu
Slave server: 192.168.5.11 _ centos
=======================1> install rsync on both hosts ========
Install ubuntu as follows:
Compile and install: download this Free Software
Rsync.samba.org/or samba.anu.edu. au/rsync
Download the latest version from the official website.
Decompress
To download the Windows version of Rsync first
Rsync is divided into server side and client, to a (server side), B (client) 2 servers For example a IP address of 192.168.1.111 B is 192.168.1.123
1, first configure the server, in
Rsync server deployment process
Rsync server deployment process:
1. rsync server configuration process
Configure the rsync configuration file/etc/rsyncd. conf
Create a local director
Description
1. Cwrsyncserver Service End
System: Windows Server 2003
IP Address: 192.168.21.134
Data storage directory: D:\osyunwei
2, rsync Client
System: CentOS 6.3
IP Address: 192.168.21.132
Synchronized Directories:/osyunwei
To achieve the purpose:
The rsync client automatically synchronizes the number of
-j ACCEPT[Email protected] ~]#/etc/init.d/iptables restart2. Download rsync on Windows clientD:\CWRSYNC_X86_FREE\CWRSYNC_5.4.1_X86_FREE\RSYNC.EXE-VZRTOPGU--progress--delete [email protected]::server2/ Cygdrive/d/server1[Email Protected]::server1--root is a synchronous user, 192.168.2.112 is the IP address of the rsync server
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.