Rsync remote synchronization & inotify monitoring

Introduction to Rsync rsync (Remote Sync) is an open source fast backup tool that can mirror and synchronize the entire directory tree between different hosts, support incremental backup, and maintain links and permissions. In a remote synchronization task,the client responsible for initiating rsync synchronization operations is called the initiator, and the server responsible for responding […]

rsync backup tool (with rsync+inotify real-time synchronization deployment example)

rsync backup tool (with rsync + inotify real-time synchronization deployment example) 1. Overview of rsync 1.1 About rsync 1.2 Characteristics of rsync 1.3 Working principle 2. rsync related commands 2.1 Basic formats and common options 2.2 Start and shut down the rsync service 2.3 Basic format of downlink synchronization 2.4 Basic format of uplink synchronization […]

rsync backup tool (with rsync+inotify real-time synchronization deployment example)

rsync 1. Overview of rsync 1.1 About rsync 1.2 Features of rsync 1.3 Working principle 2. rsync related commands 2.1 Basic format and common options 2.2 Start and shut down the rsync service 2.3 Basic format of downlink synchronization 2.4 Basic format of upstream synchronization 2.4 No interaction 2.4.1 Specify password file 2.4.2rsync-daemon method 2.4.3 […]

rsync remote synchronization + inotify monitoring

Table of Contents 1. Introduction to rsync: 2. Principle of rsync copying: 3. rsync synchronization method: 4. Basic format: 1. Commonly used options: 2. Two methods of synchronization: 3. Interaction-free format configuration: 5. Configure rsync source server: 1. Preparation: 2. Write configuration file: 3. Create a data password file for the backup account: 4. Add […]

rsync+inotify real-time data synchronization

1. Related introduction 1. rsync (remote synchronize) rsync is a remote data synchronization tool under Liunx/Unix. It can quickly synchronize files and directories between multiple hosts through LAN/WAN. There are generally two ways to synchronize files between Linux, namely rsync and scp. scp is equivalent to copying and pasting. If the file does not exist, […]

Centos7 rsync+inotify realizes real-time synchronization updates

inotify slave deployment Download the specified file on the master to the local host specified directory yum install rsync –y [root@localhost ~]# useradd rsync -s /sbin/nologin -M [root@localhost ~]# mkdir -p /home/yxh/back [root@localhost ~]# chown rsync.rsync /home/yxh/back/ echo rsync_backup:yxh >>/etc/rsync.password rsync_backup is the user name yxh is the password [root@localhost ~]# chmod 600 /etc/rsync.password [root@localhost […]

NFS +inotify+rsync realizes remote mounting and real-time incremental backup of data

NFS Network File System Function: Users can use files on remote systems in the network just like accessing their own local file system Principle: User process–>RPC service (portman)–>tcp/ip protocol stack–>After remote host RPC service–>Remote NFS service–>Remote host local disk data–>NFS service –>tcp/ip protocol stack–>Local data Advantages: It is easy to handle problems such as sission […]

Rsync remote synchronization & inotify monitoring

Introduction to Rsync rsync (Remote Sync) is an open source fast backup tool that can mirror and synchronize the entire directory tree between different hosts, support incremental backup, and maintain links and permissions. In a remote synchronization task,the client responsible for initiating rsync synchronization operations is called the initiator, and the server responsible for responding […]

rsync remote synchronization + inotify monitoring

Table of Contents 1. Introduction to Rsync 1. What is rsync? 2. Backup method 3. rsync synchronization method 4. Commonly used rsync commands 5. Two expression methods of configuration source 2. rsync experiment 1. Local copy ?Edit?Edit 2. Off-site replication 2.1 rsync server configuration 2.2 rsync client configuration 2.2.1 Normal synchronization 2.2.2 Password-free synchronization 2.2.3 […]