snapshot volume capacity should be larger than the database variation throughout the backup process. Therefore, after the backup is complete, the snapshot volume can be removed. Its function is to copy the status of the changed data snapshot during the backup process to a copy.
Prerequisites for using lvm to back up mysql: the data file and transaction log file
continue to update the database:Backup database mydb TABLESPACE myspace1 online to/backup/mydb
Table 1: Impact of database Forward Recovery
If forward recovery is not allowed
If forward recovery is allowed
After a failure occurs, you can restore the database to the State consistent with the last t
volume, the snapshot volume is used as another original volume.Access portalWhen the data of the original volume changesCopy the content of the original volume to the snapshot volume first.And then the original volume data will be modified. That is, the reason why the capacity of the snapshot volume should be larger than that of the database during the whole backup processChange volume. Therefore, after the backu
[Experiment-video process] oracle hot backup-single tablespace-backup and recovery operation demonstration
[Experiment-video process] oracle hot backup-single tablespace-backup and recovery operation demonstration
Restore a tables
Xtrabackup Backup and recovery mysql full Backup (1) Xtrabackup is an open-source project of percona. It is used to implement the innodb Hot Backup function similar to the InnoDB official Hot Backup Tool and can quickly back up and restore mysql databases. Xtrabackup contain
community uses the branch method to avoid this risk.
Data is no longer important to us. How can we ensure the security of data as much as possible? What should we do when our data is lost, therefore, data backup is too important for our data security.
Data is no longer familiar to us, but it is also most common. We are exposed to various types of data every day, and the data records our common business information, therefore, data is very important f
name, if not this line, indicates that it is anonymous secretsfile=/etc/backserver.pas # specifying the authentication password file location5. Provide the authentication file, and the permission must be 600# Vim/etc/backserver.pas root:123456# chmod 600/etc/backserver.pas6. Restart the service#/etc/init.d/xinetd Restart7. Synchronizing backups to 192.168.40.162Provide the authentication file, and the permissions must be 600# Vim/etc/backserver.pas 123456# chmod 600/etc/backserver.pas# mkdir-p/
name, if not this line, indicates that it is anonymous secretsfile=/etc/backserver.pas # specifying the authentication password file location5. Provide the authentication file, and the permission must be 600# Vim/etc/backserver.pas root:123456# chmod 600/etc/backserver.pas6. Restart the service#/etc/init.d/xinetd Restart7. Synchronizing backups to 192.168.40.162Provide the authentication file, and the permissions must be 600# Vim/etc/backserver.pas 123456# chmod 600/etc/backserver.pas# mkdir-p/
] arg JSON query--oplog use Oplog for Point-in-time snapshotting--repair try to recover a crashed database--forcetablescan force a TA
BLE scan (don't use $snapshot)
Whole-Library recovery: mongorestore-h dbhost-d dbname–directoryperdb dbdirectory -h:mongodb server address - D: The database instance that needs to be recovered, for example: Test, of course, this name can also be different from the backup
Original link: http://www.360doc.com/content/11/1209/09/834950_170836197.shtmlScenario: Perform a full backup every Sunday, performing an incremental backup every 1 o'clock in the afternoon[Applicable version] MySQL 4.x–6.xConfigurationThe prerequisite for performing an incremental backup is that MySQL turns on the log-bin log switch, for example, in My.ini or my
affected, the correctness of the data in the database is affected, or even the database is damaged, so that all or part of the data in the database is lost. Therefore, when the above fault occurs, we hope to re-establish a complete database, which is called database recovery. The restoration subsystem is an important part of the database management system. The recovery process changes with the structure af
1. Why back up the database?
Backup is the most important and easy to ignore for databases. Unexpected events may cause serious losses.
The more important the data is, the more frequently the data changes, and the more frequently backup is required.
The backup cycle can be adjusted according to the needs of different services, but
One. Installation1. Configure the Yum sourceRPM-UHV http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm2. InstallationYum Install Xtrabackup-ySecond, modify the MySQL master configuration file my.cnf (set according to the parameters of the compilation installation, RPM installation can be omitted)[mysqld]datadir=/data/mysqldbbasedir=/usr/local/mysql/Third, start the backup1. Full backup:Innobackupex--defaults-file=/etc/my.cnf--socke=/data/mysqldb/mysql.mysql--user=r
the table from the Recycle Bin after the table is deleted.if the Recycle Bin is cleared, or if the user deletes the table using the Purge option, the deleted table can still be recovered by using point-in-time recovery (PITR) If the database is configured correctly.
Flash Back Technology
Using Flash back technology:? View the previous state of the data? Read data back and forth? Assist users with error analysis and
Use cold backup in a real environment
In the previous article (cold backup for MySQL backup and recovery), we mentioned cold backup. However, there is a problem. The data files we store are stored on the current local disk. If this disk fails, the data we store will not be l
This article describes how to improve the efficiency of DB2 data backup and recovery. When designing a data backup and recovery solution, we mainly consider two aspects.
The first is whether the backup and recovery policies are se
Today we mainly describe the actual operation steps to improve the efficiency of DB2 data backup and recovery. When designing a data backup and recovery solution, we mainly consider two aspects. The first is whether the backup and recove
The following articles mainly describe the actual operations that greatly increase the efficiency of database backup and recovery in DB2. It takes N hours to back up or restore a DB2 database, therefore, the timely backup and recovery solution is no matter whether it is safe.
Or an inappropriate solution. Therefore, wh
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.