Mysql-12-mysql backup and recovery, mysql-12-mysql backup
1. Database Backup
Backup = copy and management to prevent data loss and record user operation records. The most effective backup is to back up the IT architecture.
Principles:
(1) databases should be backed up regula
1. Local BackupTo write an automatic backup script:Vim/var/lib/mysql/autobakThe contents are as follows:
Copy Code code as follows:
Cd/data/home/mysqlbak
rq= ' Date +%y%m%d '
/usr/local/mysql/bin/mysqldump sqldb--flush-logs-uroot-p123456--opt > 777city_$rq.sql
Save exit.
Chmod-777/var/lib/mysql/autobak
Crontab-e* * * */var/lib/mysql/autobakThe Autobak script is automatically executed every evening early in the morning./etc
ZZ http://www.cnblogs.com/coffee_cn/archive/2010/03/26/1697038.html
Set in Cron, perform every Monday 2 o'clock in the morning (full backup every Monday, incremental backup for the rest of the time) #vi backup.sh
#!/bin/bash
# define
dayofweek= ' date ' +%u ' today= '
date
' +%y%m%d ' source=/data/ backup/
# action
CD $
Learning and mastering how to use NBU to back up the file system is just the beginning for a data administrator. Because for most enterprises, buy NBU is mainly to back up the data of the enterprise database, protect the data security of the database, and then ensure the safe operation of the enterprise application. As a result, database backups for Oracle, DB2, and Sybase will be rolled out from this article. Brief Introduction to Oracle Backup: Simp
I. Overview
The simple recovery model and the bulk recovery model are described earlier, and this article continues to write backup and restore under the full recovery model. The biggest advantage in the full recovery model is that as long as the tail log can be successfully backed up, it can be restored to any point contained in the log backup ("Point-in-time recovery"). Of course compared to the first two
Tags: mysql xtrabackup backup######################################################################### # # Install MySQL or mariadb local also installed MySQL or mariadb related packages # #########################################################################Slightly######################################## # # # of Xtrabackup installation # # ########################################[email protected] ~]# Yum install http://www.percona.com/downloads/
1. Full database backup: Divided into archive and non-archive by archive mode
(1) Archiving mode
Open state, non-consistent backup
Off state, can be divided into consistency and non-conformance
(2) Non-archive mode
Open, non-consistent backup invalid
Shutdown status, consistent backup, non-consistent
1. Enter the Yun Yu virtual machine backup system and select "Backup/Restore"-"virtual machine backup" to create a new backup task.2. Under H3C CAs virtualization type tick the virtual machine that you want to back up, the selected virtual machine appears under selected virtual machine, scroll to the bottom of the page
Original: SQL Server Backup and Recovery series backup and restore in four capacity modesI. OverviewIn the first section of the SQL Server backup and recovery series, there is knowledge about backup and restore in bulk mode. This article focuses on the most common backup and
Use backup-manager for system backup on Linux
Whether simple or not, we have the opportunity to understand the importance of backup. Considering that the backup method is really versatile, you may want to know how to effectively select the right tools and appropriate policies for your system.
In this article, I will in
Tags: multiple user mode database alter modify DISTINCT ACK loss comparisonOriginal: SQL Server Backup and Recovery series backup and restore under three simple recovery modelsI. OverviewIn front of some theoretical knowledge of backup, this article starts with backup and restore under the simple recovery model. In the
XtrabackupXtrabackup is a free database hot backup software Percona open source, which can back up non-blocking database of InnoDB database and XTRADB storage engine (also need to add a table lock for MyISAM backup);The mysqldump backup method is a logical backup, the biggest drawback is the slow
Tags: action start nal first open amp from Percona font1 Overview1.1 IntroductionXtrabackup is a MySQL database backup tool provided by Percona, officially described, which is the world's only one by one open source tools that enable hot provisioning of InnoDB and XTRADB databases.PXB (Percona xtrabackup) is a physical backup, is based on a copy file backup,
I. OverviewThe simple recovery model and the bulk recovery model are described earlier, and this article continues to write backup and restore under the full recovery model. The biggest advantage in the full recovery model is that as long as the tail log can be successfully backed up, it can be restored to any point contained in the log backup ("Point-in-time recovery"). Of course compared to the first two
1. Full database backup: Divided into archive and non-archive by archive mode
Archive mode
Open state, non-consistent backup
Off state, can be divided into consistency and non-conformance
Non-archive mode
Open, non-consistent backup invalid
Shutdown status, consistent backup, non-consistent
I. OverviewIn the first section of the SQL Server backup and recovery series, there is knowledge about backup and restore in bulk mode. This article focuses on the most common backup and restore modes in bulk mode "full backup + differential backup + log
During the Rman machine recovery process, I first made an incomplete recovery, and then recovered when prompted by the error:Starting restore at 29-dec-15Using channel Ora_disk_1RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE, STACK follows ===============RMAN-00571: ===========================================================Rman-03002:failure of Restore command at 12/29/2015 16:56:34Rman-06026:some Targets not found-aborting resto
For Oracle databases, only physical and logical backups
Physical Backup: A backup process that copies the operating system files that actually make up the database from one place to another, usually from disk to tape.
Logical backup: Is the process of extracting data from a database in a SQL language and coexisting it in a binary file.
The first class is a phys
First look at the concept:
Differential backup:Differential backup is for full backup: All files that change after the last full backup are backed up. (During differential backup, only the marked files and folders are backed up. It does not clear the mark, that is, it is not marked as a
Incremental backup)
Incremental backup is much faster than full backup. During Incremental backup, only files modified after the last full or Incremental Backup are backed up. For this reason, Incremental backup takes only a few
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.