---------- Full backup -----------Backup set: block backup used in data filesImage copy: a complete copy of all data files.---------- Incremental Backup -----------A backup of a database that has changed since a specific time point. This time point can be the time point of t
For an Oracle database tutorial, 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 cla
For the system, we can have a lot of ways to back up (restore) the system or file, the reason is to do the backup, is to be in the system or file damage, the timely recovery, reduce the loss to a minimum. Of course, the importance of backup is important for enterprise servers. Let's discuss in detail today how to use dump and restore for backup and restoration in
Mongolerman backup in-depth analysis-online backup, start to execute the actual database backup operation, at this time a log switch (altersystemarchivelogcurrent
Oracle RMAN backup in-depth analysis-online backup, start to execute the actual database
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 $
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
The following articles mainly describe the correct operation steps for offline and online full backup, Incremental backup, and recovery of DB2, the following is a detailed description of the correct operation steps for DB2 offline and online full backup, Incremental backup, and recovery.
DB2 offline, online full
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
Intended audience
This article is tested in linux and mysql 4.1.14. After modification, it may be applicable to mysql 4.0, 5.0 and other versions.
This article is applicable to mysql that does not enable replication. If replication is started, you may not need to adopt this backup policy or modify relevant parameters.
Each person may have different backup policies. Therefore, Please modify the policies base
(1) Write hot backup script (double spool)
Set feedback off pagesize 0 heading off verify off Linesize-Trimspool on echo off
Define bakdir= '/disk1/backup/anny/hot_bak '
Define bakscp= '/disk1/backup/anny/hot_cmd.sql '
Define spo= ' bakdir/hot_bak.lst '
Prompt ***spooling to BAKSCP
Set Serveroutput on
Spool BAKSCP
Prompt spool spo
Prompt alter system swi
History of the simplest MySQL Data Backup and restoration tutorial (below) (), mysql Data Backup
The third part of data backup and restoration is as follows:
Basic concepts:
BackupSave the existing data or records in another copy;
RestoreTo restore the data to the backup status.
Why do we need to back up and restore Da
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
Preparatory work:
Need to advance in the VPS to install good lftp,lftp function more powerful, CentOS Direct execution: Yum install Lftp,debian execution: Apt-get install.
You need to create the/home/backup/directory on the VPS and create the backup directory on FTP.
If the VPS on the database is not much to use GoDaddy free space can (10GB space, 300GB traffic), as long as the registration of the domain
During traditional Oracle backup, database files are backed up by copying operating system files. The backup granularity is data files, and the data files may be large, however, it is empty blocks and there is no Oracle data, but because it is a file copy, you need to back up the entire file.The backup set value of RAMN backs up used data blocks and supports Incr
MySQL backup lock and mysql backup
Both logical and physical backups depend heavily on FTWRL (Flush Table With Read Lock) to obtain consistency points ). This lock is highly lethal, because during the lock period, the entire database cannot provide write services externally. In addition, because FTWRL needs to close the table, if there is a large query, it will lead to FTWRL waiting, which leads to a longer
This series of articles describes the relationship between cloud and backup, including:(1) VMware Virtual machine backup and recovery(2) KVM virtual machine backup and recovery(3) Cloud and backup(4) OpenStack and backup(5) Public Cloud and backup1. VMware Basics related to
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.