

Using Rsync command, you can sync files and directories across directories, disks or networked computers. Synchronize multiple directory, need multiple confxml.xml Rsync (Remote Sync) is a Linux/Unix based utility for data backup and synchronization both locally and remotely. Sixth, automatic synchronization SerSYNCĭecompression tar -zxvf sersync2.5.4_64bit_binary_stable_Īfter decompression, only two files, confxml.xml is the configuration file, SerSYNC2 is the startup file Representing the slave to the local machine. The representative is pushed from this unit to the counter.ĭirectory behind IP. In / Home / Eqics / YYYY / directory, see if another machine is also built, /usr/bin/rsync -vzrtopg -progress -delete /home/eqics/yyyyy/ ::wu -password-file=/etc/rsyncd.passwd Secrets file = /etc/rsyncd.passwd # This is a password fileįourth, start RSYNC /usr/bin/rsync -daemon

Path = / home / eqics / yyyyy / # needs synchronization file path, pay attention to the back / Hosts allow = 192.168.52.241 # written another machine IP, two machine configurations, this is different Port = 873 # port number 873, remember the firewall open 873 port Max connections = 4 # Connection, = 0 is not limited When you deploy, you want to delete it, otherwise it's not good.

Third, modify the RSYNC configuration file vim /etc/nf Modify file permissions chmod 600 /etc/rsyncd.passwd Second, create a secret key vim /etc/rsyncd.passwd In-Place Rsync: File Synchronization for Mobile and Wireless Devices.
Rsync file synchronization install#
File synchronization Two machines are installed First, install rsync yum install -y rsync
