Principle and workflow analysis of rsync algorithm

This paper analyzes the principle of rsync algorithm and the workflow of rsync through examples, which is the explanation of rsync's official technical report and official recommended articles. This article will not describe how to use the rsync command, but explain in detail how it can achieve efficient incremental transmission. The following ...

Posted by sean04 on Sat, 20 Nov 2021 11:14:26 -0800

Transfer file command under linux

Transfer file command under linux lrzsz Introduction: lrzsz is a program that can be uploaded and downloaded in linux instead of ftp. Installation: yum-y install lrzsz Use: Upload: rz Download: sz filename Example: [root@server1 ~]# yum install -y lrzsz.x86_64 ................. [root@server1 ~]# echo "September 9, 2002, ...

Posted by Scriptmaker on Thu, 09 Sep 2021 09:17:01 -0700

rsync+crond for scheduled backup

rsync introduction rsync is called remote synchronization in English. From the name of the software, it can be seen that rsync can make the data between the local and remote hosts copy the synchronous image and remote backup quickly. This function is similar to the scp command with ssh, but it is bet ...

Posted by vivianp79 on Fri, 12 Jun 2020 22:03:41 -0700

CentOS (rsync+crond for scheduled backup)

1, rsync introductionrsync is called remote synchronization in English. From the name of the software, it can be seen that rsync can make the data between the local and remote hosts copy the synchronous image and remote backup quickly. This function is similar to the scp command with ssh, but it is bett ...

Posted by christine75 on Fri, 12 Jun 2020 21:00:24 -0700

Handling mining zombie network dota3 Trojan attacks under CentOS7

In the early morning, I received alert text messages from Ali cloud server.Emergency security incident: access malicious download source, access malicious download IP.Instant wake up, immediately get up to handle. First log in to Aliyun backstage, check the security center's warning mascot, found several records: Parent process path: /usr/bin ...

Posted by lur on Wed, 20 May 2020 09:57:35 -0700

lsyncd installation and configuration under CentOS 6.9 (take local synchronization as an example)

rsync+lsyncd to realize real-time file synchronization yum -y install rsyncd (both the synchronized end and the synchronized end need to be installed) 1. Provide lsyncd installation source rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 1 2 2. Dependency of installing lsyncd from yum yum -y install ...

Posted by Loriq on Sun, 10 May 2020 09:07:57 -0700

Detailed explanation of role test of Ansible, an automatic operation and maintenance tool

Detailed explanation of Ansible Roles and practical cases   Host planning   Add user account explain: 1. Login account used by operation and maintenance personnel; 2. All businesses are placed in the "home directory of yun users" under / app / to avoid misplacement of business data; 3. This user is also used by ansible, because alm ...

Posted by chard on Fri, 08 May 2020 06:53:59 -0700

Realizing the snapshot backup function of "copy on write" based on rsync and ln

1, Fundamentals Here, "copy on write" is enclosed with a quotation mark, because this is specifically for the copy on write effect when rsync backup is used, rather than the actual copy on write effect. Its purpose is as follows: After backing up the data using rsync, create a snapshot immediately: The data state of the snapsh ...

Posted by primuz on Mon, 06 Apr 2020 00:17:49 -0700

getattr in python

Catalog getattr details Preface 1. Eliminate if...else 2. Reflection mechanism 3. getattr Details summary getattr details Preface These two days, we are optimizing Tencent's cloud migration platform. SmartMS When using the middleware (go2cloud_api). Some of the interfaces ...

Posted by hhheng on Fri, 13 Mar 2020 09:52:31 -0700

Solution of "running package script" for MAC installing MacPorts card

Click the upper right corner to force the end of "installer" Open terminal, enter the command "ps -ef | grep install", find the legacy process and kill it Install Xcode Enter the command "xcodebuild -license" and agree MacPorts is stuck because the installation script uses Rsync update during the installation pro ...

Posted by swathin2 on Thu, 09 Jan 2020 07:11:03 -0800