Two of three phases of Linux: backup service (rsync)

2, Backup service (rsync) (1) rsync service introduction Rsync is an open source, fast, multi-functional, full and incremental local or remote data synchronization backup tool. And it can realize the backup and migration of data without changing the attribute information of the original data. Rsync software is suitable for unix/linux/windows an ...

Posted by bloodl on Fri, 01 May 2020 18:49:54 +0200

shell script 9: application of case structure conditional sentence

9, Application of case structure conditional sentence (1) case syntax structure case structure condition sentence is equivalent to multi branch if condition sentence, but it looks more standard and neat than these condition sentences, and is often used in application scenarios such as system service script. Syntax structure of case statement: c ...

Posted by Dethman on Wed, 29 Apr 2020 18:14:47 +0200

Rsync server configuration - simulate IDC cross machine room backup

Rsync server configuration - simulate IDC cross machine room backup IP role user 192.168.1.4 aaa server (public cloud) root 192.168.1.5 bbb client root 192.168.1.6 ccc client root Preparation for aaa server (public cloud) //Create a backup directory, preferably a separate disk [root@aaa-server /]# mkdir /backup ...

Posted by karimali831 on Mon, 23 Dec 2019 18:31:46 +0100

Backup using rsync tools

rsync is a remote and fast incremental backup tool that supports local, ssh and rsync host synchronization.rsync is one of the basic components of the default Linux/Unix system installation, so we don't need to install it manually. [root@mysql /]# rpm -q rsync rsync-3.0.9-17.el7.x86_64 rsync programs do not have configuration files, so we need ...

Posted by webwiese on Mon, 07 Oct 2019 00:54:11 +0200

Logging system EFK follow-up: monitoring online logs

In the previous article EFK follow-up of log system: monitor alarm monitoring In this paper, we have basically completed the construction and testing of efk monitoring and alarm system. Then, when we switch the log source to online log, there are big problems. The CPU usage rate of fluentd is still high, and the alarm message in kafka is growin ...

Posted by karldesign on Mon, 23 Sep 2019 05:26:46 +0200

linux backs up mysql regularly and synchronizes to other servers

Data is the core asset in any company, and regular backups are designed to ensure that when the database is in trouble, it can be rolled back to the nearest backup point in time, minimizing loss This article will cover two parts: 1. periodic backup of mysql; 2. synchronization to other servers mysql backup Backup Restore a Database Back ...

Posted by jvanv8 on Tue, 10 Sep 2019 04:52:58 +0200

Linux Web Cluster Architecture Detailed (Pro-test Available!!!)

        Note: The WEB server and database need to be separated, and the WEB server also needs to compile and install MySQL. The important idea of cluster architecture is to find the backbone and extend from the backbone area to the outside.   WEB Server: apache nginx makes three products locally, dedecms work process discuz, which stor ...

Posted by maxholman on Mon, 26 Aug 2019 13:41:51 +0200

Configure inotify+rsync real-time synchronization

If you are not familiar with rsync services and commands, you can refer to the blog post. Remote synchronization through rsyncThere's not much to say here! Linux kernel has provided inotify notification interface since version 2.6.13 to monitor various changes of file system, such as file access, deletion, movement, modification, etc. Using th ...

Posted by skissiks on Thu, 15 Aug 2019 14:11:25 +0200

Actual combat: use xtrabackup to make incremental backups for mysql

Originality: Fat Dog and Flying Bird qq14808540 Production environment architecture: MySQL 5.6, one master and one slave. Periodic incremental backup is implemented on the slave side. The slave is configured as a 2-core 4G and hangs on the SSD data disk. Introduction to xtrabackup There are two tools: xtrabackup: is a tool for hot backup of dat ...

Posted by mounika on Sun, 30 Jun 2019 01:08:48 +0200

Chapter 2: Principle and workflow analysis of rsync algorithm

In this paper, the principle of rsync algorithm and the workflow of rsync are analyzed in detail through examples. rsync Official Technical Report and Official Recommendation Articles Explanation. Following is the rsync series: 1.rsync(1): Basic commands and usage 2.rsync(2): inotify+rsync and sersync 3.rsync algorithm principle and workflow an ...

Posted by crishna369 on Wed, 12 Jun 2019 00:07:32 +0200