client_info is not null;
Sid username client_info
----------------------------------------------------------------------
140 sys id = RMAN
SQL> select Sid, spid, client_info
2 from V $ PROCESS p, V $ session s
3 where P. ADDR = S. paddr
4 and client_info like '% id = % ';
Sid spid client_info
----------------------------------------------------
140 5002 id = RMAN
-- View the
] 90409[[email protected] data]# mysql-uroot-pli123456-s/data/3306/mysql.sockmysql> show databases;+--------------------+|Database |+--------------------+|Information_schema | |lichengbing |#数据表恢复成功 |Lilongzi | |MySQL | | Performance_schema |+--------------------+5 rows in Set (0.00 sec)And then simulate the incremental backup.Insert a few rows of data in a new[Email protected] opt]# mysql-uroot-pli123456-s/data/3306/mysql.sock lichengbing
archived logs.
Archive log: Contains only archived logs and cannot contain data files or control files.
Backup set: The backup set can be backed up in Rman, which means that the backup set contains backup sets.
650) this.width=650; "src=" http://s3.51cto.com/wy
Brief introduction
1 • Concept of full and incremental backups2 • Full backup with mysqldump3 · Using Mysqldump for table structure backup4 • Two methods of full backup recovery5 • Incremental backup with flush logs6 • Increment
recommended to create a database on the target database. RMAN uses the information recorded in the recovery directory to determine how to perform the required backup and recovery operations. If the directory is not restored, the backup information can be stored in the control file of the target database;
2: ConceptsBackup Sets: features of a
First, use the percona-xtrabackup tool to perform full backup of the database, and then perform Incremental backup of the data after each database data update.
First, use the percona-xtrabackup tool to perform full backup of the database, and then perform Incremental
Instance method for mysql automatic incremental backup (local backup and remote backup) bitsCN.com
1. local backupCompile an automatic backup script:Vim/var/lib/mysql/autobakThe content is as follows:Cd/data/home/mysqlbakRq = 'date + % Y % m % d'/Usr/local/mysql/bin/mysqldum
Set in cron and execute at every Monday (full backup every Monday, Incremental backup for the rest of the time)
# Vi backup. Sh
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#! /Bin/bash
# Define
Dayofweek = 'date "+ % u "'
Today = 'date "+ % Y % m % d "'
Sour
RMAN backup scheme RMAN backup archive mode damages (loss) multiple data files, restores the entire database 1. connects to the database, creates a test table, and inserts records
SQL * Plus: Release 8.1.6.0.0-Production on Tue May 6 13:46:32 2003 oracle training (c) Copyright 1999 Oracle Corporation. all rights reserv
6rowsselected.
SQL>selectcount(*)fromdba_temp_files;
COUNT(*)
----------
1
SQL>selectcount(*)fromhr.employees;
COUNT(*)
----------
107
5. Notes
RMAN>List incarnation; // generate a new incarnation
Using target database control file instead of recovery catalog
List of Database Incarnations
DB Key Inc Key DB Name db id status Reset SCN Reset Time
--------------------------------------------------
-consistent backupsBackup setMirrored copyAutomatic backup of control files and parameter filesIncremental backupBackup Retention PolicyVI: Basic operation of Rman backupSet Backup Output OptionsBacking Up Database filesBacking Up archive log filesCreate an incremental backupSeventh: Advanced Operations for
Mysql daily backup and incremental backup script bitsCN.com
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
= 'date + % Y % m % d'BACKUP_PATH = "/data/rman_bak"BIN = $ ORACLE_HOME/bin
If [$ #! = 1]; thenEcho "usage: rman_bak.sh nWhere n is the rman backup level (Only 0, 1 is permitted )."Exit 1Fi
If [$ @-ne 0-a $ @-ne 1]; thenEcho "usage: rman_bak.sh nWhere n is the rman backup level (Only 0, 1 is permitted )."Exit 2Fi
If [
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: ================================
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
Yes tag20140526t151509
RMAN> List backup of database;
---- View the specific backup information
---- BS key: Backup set number
---- Type: Backup Type. incr indicates Incremental backup
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.