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
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:
Posted by Dethman on Wed, 29 Apr 2020 18:14:47 +0200
Rsync server configuration - simulate IDC cross machine room backup
aaa server (public cloud)
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
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 programs do not have configuration files, so we need ...
Posted by webwiese on Mon, 07 Oct 2019 00:54:11 +0200
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
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
Backup Restore a Database
Posted by jvanv8 on Tue, 10 Sep 2019 04:52:58 +0200
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
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
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
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