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

Ansible playbook batch management cluster basic configuration

Ansiable bulk configuration management through playbook playbook is composed of one or more modules. It uses many different modules to accomplish one thing. Install a service, configure, and start. 1. Find someone to shoot. 2. General tasks. 3. How to do it. Install httpd Service - > Playbook 1. i ...

Posted by ramrod737 on Thu, 02 Jan 2020 04:35:26 -0800

Linux-13-Inotify+Rsync real time data synchronization

Check before configuration 1. First, make sure that Rsync has been configured and the client can push files to the server [test@C64-6-B ~]$ rsync -avzP ./syncdir rsync_backup@2.2.2.5::syner --password-file=/etc/rsync.password sending incremental file list syncdir/ sent 52 bytes received 12 bytes 42.67 bytes/sec total size ...

Posted by Ralf Jones on Wed, 25 Dec 2019 12:18:46 -0800