tayaclothes.blogg.se

Rsync file synchronization
Rsync file synchronization










) change to True, User, and Password fileĮight, start SerSYNC. Synchronize multiple directory, need multiple confxml.xml 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 Rsync is a handy command that is often used to copy data.

#Rsync file synchronization how to

Secrets file = /etc/rsyncd.passwd # This is a password fileįourth, start RSYNC /usr/bin/rsync -daemon This article explains how to use the rsync command to create backups and sync data across hosts. Using Rsync command, you can sync files and directories across directories, disks or networked computers. Path = / home / eqics / yyyyy / # needs synchronization file path, pay attention to the back / Rsync (Remote Sync) is a Linux/Unix based utility for data backup and synchronization both locally and remotely. 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

rsync file synchronization

Modify file permissions chmod 600 /etc/rsyncd.passwd

rsync file synchronization

Second, create a secret key vim /etc/rsyncd.passwd File synchronization Two machines are installed First, install rsync yum install -y rsync










Rsync file synchronization