Rsync synchronizes Windows and Linux Files

Source: Internet
Author: User

Rsync synchronizes Windows and Linux Files
Rsync 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) [root @ node3 ~] # Yum install rsync-y [root @ node3 ~] # Vim/etc/rsyncd. conf uid = root -- file Upload user gid = root -- group use chroot = no -- cannot go to other directories max connections = 3 -- max connections pid file =/tmp/rsync. pidlock file =/tmp/rsync. socklog file =/var/log/rsync. log -- log file [Server1] -- identifier path =/home/Server1 -- synchronized directory igonre errors read only = nolist = yesauth users = root -- login username, it may not be a system user secrets file =/etc/backserver. pas -- Password File [Server2] path =/home/Server2igonre errorsread only = nolist = yesauth Users = rootsecrets file =/etc/backserver. pas [root @ node3 ~] # Mkdir/home/Server {1, 2} [root @ node3 ~] # Vim/etc/backserver. pasroot: root135 [root @ node3 ~] #/Usr/bin/rsync -- daemon-a input-m state -- state NEW-m tcp-p tcp -- dport 873-j ACCEPT [root @ node3 ~] #/Etc/init. d/iptables restart 2. download RsyncD: \ cwRsync_x86_Free \ drivers \ rsync.exe-vzrtopgu -- progress -- delete [email protected]: Server2/cygdrive/D/Server1 [email protected]: server1 -- root is the synchronization user, 192.168.2.112 is the IP address of the rsync server, Server1 is the identifier/cygdrive/D/Server1 -- save the remote directory to the local D disk Server1

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.