Sections 3rd and 4 describe how to restore and restore a database from a consistent backup, but the disadvantage is that the database must be closed during the operation. Because in the actual environment, users and application systems are always using databases, and the database cannot be closed, how can we back up and restore the opened database, this section and the next section will be discussed.When data is opened, the data file and control file
MYSQL database automatic local remote dual-backup MYSQL incremental backup to build a high-security E-commerce website (automatic local/remote dual-backup of website files and databases) architecture diagram
We will continue to introduce the e-commerce system architecture related to file backup, database
One, MySQL backup type1. Follow the MySQL server status
Cold Offline backup, read and write operations are aborted
warm can only perform read operations
Hot Read and write operations are not affected
2, according to data consistency
Consistent
Inconsistent
3. Follow the backup data format
logical
Logical backup (Data migration):Backup in Logical StructureMove data across usersMoving databases across databasesSave the original data state for the testVersion upgrade of a databaseConsiderations for Logical Export:EXP program in the directory found the same name file will be directly overwritten, do not prompt!!Exp cannot back up empty table with no segmentsBe sure to note the character set when perform
Seven Online Rman Database backup
7.1 Online Database backup
To perform an online backup operation using Rman, the database must be placed in Archivelog mode. If you are not in archive mode, Rman generates an error when you attempt an online backup.
Oracle Archiving and non-archive switching
Http://blog.csdn.net/ti
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
Tags: full backup incremental backup data restoreScenario: Sunday full Backup, Monday, Tuesday incremental backup, Wednesday problems, found after a few minutes;Installation of the database:
yum install mariadb-server-y
systemctl start mariadb
yum Install percona-xtrabackup-24-2.4.9-1.el7.x86_64.rpm
Default Instant i
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
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
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
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
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
Backup is an essential part of writing code, traditional backup, usually copy all the data to a place, and then labeled to indicate when the backup, this backup is called "Overall backup."
If you make a general backup, the disk sp
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 $
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.