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
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
Oracle backup is divided into two types:
Logical backup: expdp/impdp is only used to store the exported data. Therefore, only the data saved during Backup can be recovered,
Logical backup is suitable for backing up tables with few changes.Disadvantage: long recovery time
Advantage: Logical
The article introduced two kinds of database record code, one is our PHP write common database backup class, the other is for Linux friends to provide an automatic timing backup MySQL database code, the need for students can refer to.
Save the following PHP code as a backdata.class.php file
The code is as follows
Copy Code
/*** Simple one MySQL
Misunderstanding #20: After the log backup chain is damaged, a complete backup is required to restart the log chain.
Error
Transaction Log backup backs up all transaction logs since the last transaction log backup (if there is no log backup, it starts from the last full
"Requirements description"The Windows Server R2 System state is backed up and you need to keep the system state backup data for three days, but we find that Windows Server Backup is not able to create multiple backup schedules, cannot set the number of backup copies saved, etc."Workaround"If you have used Windows Serve
Logical backup and physical backup have their own advantages and disadvantages. Generally, physical Backup recovery is faster, occupies a large space, and logical backup is slower.
Logical backup and physical backup have their own
We can perform full backup for a small number of databases every day, because it does not take much time. However, when the database is very large, we are unlikely to perform a full backup every day, in addition, it is changed to a weekly full backup, and an incremental backup every day is similar to this
Preparations: lftp must be installed in VPS in advance. lftp is powerful. CentOS directly executes: yuminstalllftp and Debian execute: apt-getinstalllftp. You need to create the/home/backup/directory on VPS and the backup directory on FTP. If there are not many VPS databases, you can use Godaddy free space (10 GB space, 300
Preparations:
Lftp needs to be installed in VPS in advance. lftp is powerful and can
Usage type: the system load is concentrated in a certain period of time, such as 8 hours during the day, and is usually idle at night. Therefore, data can be backed up at night.
It corresponds to full-Database Backup:
Http://blog.csdn.net/jacson_bai/article/details/39636915
1. env:IP Address: 10.244.171.180/181Oracle Database Oracle 11.2.0.3OS RHEL 5.5Backup toos: rman, Shell, crontab
2. Backup Plan (increm
Full backupThe most common and simple backup is to directly use the copy command to copy the version library directory to the backup directory. However, this is not a safe method, because if the version library changes during the copy process, the backup results will be inaccurate and the backup function will be lost,
Server:AliyunRequirements:For the WWW directory, perform a backup daily 1 o'clock in the morning to name the folder on today's dateCreate Wwwbak directories and bakwww.sh files in the Alidata folder as follows:Create a new Wwwbak folder and execute the following command:# mkdir Wwwbak# Chmod-r 777 WwwbakTo create a new bakwww.sh file, execute the following command# VI bakwww.shThe contents of the document are as follows:cp-af/alidata/www//alidata/wwwb
Use Xtrabackup to do a full backup. After we have installed Xtrabackup, it gives us a few command-line tools where we back up the command to use is Innobackupex, which is a script that encapsulates several xtrabackup of several command lines internally, Makes the Innobackupex very easy to use first go to the official website to download the RPM package after installation can be used this tool is generally used for local
MySQL backup and recovery-percona-xtrabackup incremental backup and recovery bitsCN.com article review
In the previous article, we talked about the use of percona-xtrabackup software. This article describes how percona-xtrabackup achieves incremental backup and recovery.
2. incremental backup
How to implement incre
We usually create
BackupIn
SQL Server, We can achieve this through the following method:
Steps for automatic backup in SQL Server 2005 database:
1. Open SQL Server Management Studio
2. Start the SQL Server proxy
3. Click job> create job.
4. Enter the job name in "regular"
5. Create a step, select the T-SQL type, and enter the following statement in the following command (the red part should be changed according to your actual situation, D: sql2005ack
Tags: data manipulation mysql location requires MySQL incremental backup output speed ICA technology shareIn a production environment, the security of data is critical, and any loss of data can have serious consequences. So the database needs to be backed up. Here is an example of a new mysql5.7.First, database backup classification:
From a physical and logical point of view, backups can be divided
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.