HSRPThe hot backup router protocol is designed to support the failure of IP traffic transfer under certain circumstances, which will not cause confusion and allow the host to use a single router, and maintain the connectivity between routers even if the first hop router fails to be used. Next let's take a look at the configuration of the next instance.
Hot Backup
Many books talk about Python backup in linux, and you can run the backup function on xp. The code is almost the same, that is, it is different when packaging. Winrar is also used, and the same applies to other compressed files.
First, we need to add the winrar path to the path, which is valid only after the host is restarted.Note: After you add the winrar path to the path, you must restart it. Otherwise, t
Article Title: Linux Case Study: Amanda centralized backup instance (1 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Amanda (Advanced Maryland Automatic Network Disk archive Advanced Maryland Automatic Network Disk Archiver) Network
: Does not apply to replication of cross-Library data updates.2.2, Replicate-do-table: Set the table to be synchronized from the server, the format is db_name.tb_name. One per line, multiple rows are required to synchronize more than one table.Disadvantage: Does not apply to replication of cross-Library data updates.2.3, Replicate-wild-do-table: Set the database to be synchronized from the server, the format is db_name.tb_name. One per line, multiple rows are required to synchronize more than on
the condition.Mysqldump-uroot-p--host=localhost--all-databases--where= "user= ' root '"--xml,-XExport the XML format.Mysqldump-uroot-p--host=localhost--all-databases--xml--plugin_dirThe directory of the client plug-in for compatibility with different plug-in versions.Mysqldump-uroot-p--host=localhost--all-databases--plugin_dir= "/usr/local/lib/plugin"--default_authThe client plug-in uses permissions by default.Mysqldump-uroot-p--host=localhost--all-databases--default-auth= "/usr/local/lib/plugi
Mysql backup and database restoration mysqldump instance and parameter description mysqldump
BitsCN.com
We will certainly encounter the situation of backing up the database and restoring the database during the operation of the project. we generally use the following two methods to deal with it:
1. use into outfile and load data infile to import and export backup
This article describes how to implement a backup program in python in windows. if you need a backup program, you can refer to the Python backups mentioned in many books in linux, in xp, you can also perform the backup function. the code is almost the same, that is, the package is different. Winrar is also used, and the same applies to other compressed files.
F
/myblog.sqlBack up the MyBlog database and clear the data about MyBlog in the incremental backup./mysqldump–flush-logs-u root–all-databases >/tmp/alldatabase.sqlBack up all databases, clear incremental backupsMysql-bin.index index role, because the increment of data is not necessarily in a mysql-bin000 such a file, this time, we will be based on Mysql-bin.index to find mysql-bin such a delta file.If MySQL does this configuration binlog-do-db=test1, th
This example describes how Python implements a backup file, and is a very useful technique. Share to everyone for your reference. The specific methods are as follows:
The main implementation of this instance is to read a task file and automatically back up the specified task parameters.
Format of the task file: (Note that the comment is not supported after the semicolon)
[Task]; A task begins
dir=
I used to talk a lot about various methods for regular backup of mysql databases. Today I will introduce a super simple instance script for mysql backing up databases every day in linux.
So far, none of MYSQL is always normal.
Backup is king.
The script is as follows:
The Code is as follows:
Copy code
#! /Bin/sh# File:/home/mysql/
Mysql backup and database restoration mysqldump instance and parameter description mysqldump
We will certainly encounter the situation of backing up the database and restoring the database during the operation of the project. we generally use the following two methods to deal with it:
1. use into outfile and load data infile to import and export backup data
The
Many of the books in the Python backup are under Linux, and testing on XP can also perform backup functions, the code is almost the same, it is not the same as the implementation of packaging. and to use the WinRAR, the other compressed files are the same.
First we need to add the path of the WinRAR to path, where it is added to restart the machine to be effective.It is important to note that the winrar p
We will certainly encounter the situation of backing up the database and restoring the database during the operation of the project. We generally use the following two methods to deal with it:
1. Use into outfile and load data infile to import and export backup data
The advantage of this method is that the exported data can be in the specified format and exported only data without table creation information. You can directly import different tables in
A lot of books in the Python backup is under Linux, and on the XP test can also perform backup functions, the code is almost the same, is to perform packaging is not the same time. and to use the WinRAR, the other compressed files are the same.
First we need to add the path to WinRAR, which is only valid if we have to restart the machine.Here to note: The path added to the WinRAR must be restarted, or path
configuration # include/path/to/local. conf # include/path/to/Other. conf # include/opt/redis/etc/slave. if the conf file is an slave server, open this comment.
Slave Configuration:$ CAT/opt/redis/etc/slave. conf
###### Slave config ### replication setting, slaveof redis01 6397 # If this machine is a redis slave instance, you can enable this setting. If the master-slave mode is used, I will shut down the snapshotting on the master, so that I do not
, such as slave configuration # include/path/to/local. conf # include/path/to/Other. conf # include/opt/redis/etc/slave. if the conf file is an slave server, open this comment.
Slave Configuration:$ CAT/opt/redis/etc/slave. conf
###### Slave config ### replication setting, slaveof redis01 6397 # If this machine is a redis slave instance, you can enable this setting. If the master-slave mode is used, I will shut down the snapshotting on the master, so
Version: 5.5.14Os:conetos 6.31. Create recover.sh[Email protected] export]# VI recover.sh#!/bin/bashBakdir=/export/dataMysql=/export/servers/mysql/bin/mysqlUser=rootpasswd=123456For port in {3361..3362}Do($mysql-u$user-p$passwd-s/export/data/mysql/tmp/mysql$port.sock Done2. Create a Bakinfo file[Email protected] export]# VI bakinfo3361,/export/backup/all.255.10-2014-03-31.sql3362,/export/backup/all.255.11-2
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.