oracle database 12c oracle rman backup and recovery
oracle database 12c oracle rman backup and recovery
Learn about oracle database 12c oracle rman backup and recovery, we have the largest and most updated oracle database 12c oracle rman backup and recovery information on alibabacloud.com
Command: connecttarget (connecttargetsystemoracle @ ora10g. If the database does not exist, you can directly start it with startup under the rman command.
Command: connect target/(connect target system/oracle @ ora10g. If the database does not exist, you can directly start it with startup under the
to copy the backup set on the original library to the directory/u02/ftp/of the destination library (specific operation omitted)
4. Create the following directory on the new machine
Mkdir/u02/mydb
Mkdir-p/u02/mydb/oracl/{adump,bdump,cdump,dpdump,udump,pfile}
Mkdir-p/u02/mydb/oradata/oracl
Mkdir-p/u02/mydb/flash_recovery_area
5. Create a password file
Orapwd File=/u01/app/oracle/product/10.2.0/db_1/db
;}
Example 2: the disk where the system tablespace data file is located is faulty
The backup database (Omitted) deletes the data files corresponding to the system tablespace. Start the database to the mount status. Before restore database, run set newname to specify a new location for the data file. After the restore
1. Check the database mode:Sqlplus/nologConn/as sysdbaArchive log list (check whether the database is in archive Mode)
If not, the database archive mode is modified.Startup mountAlter database archivelogAlter database open
2. connect to the target
1041819 August-July -10 d:/app/administrator/oradata/bl/undotbs01. Dbf
4 full 1041819 August-July -10 d:/app/administrator/oradata/bl/users01. Dbf
5 full 1041819 August-July -10 d:/app/administrator/oradata/bl/bl01. Dbf
List of archived log copies of the database Db_unique_name for BL
=====================================================================
Keyword Line program column S time limit
------- ---- ------- - ----------
8 1 A August-Jul
Rman Learning Summary as follows, has been tested run, no problem.
1. Set the database as the archive mode
Check Archive mode
Select Log_mode from V$database;
If noarchivelog, it needs to be set to archive mode
Shutdown immediate;
Startup Mount;
Alter database Archivelog;
2, create the table space needed to res
table
Logical backup and recovery of databases (tables)-Database Import
* ** 1. Import a table
(M123 is the password of Scott, myoral is the database instance, the table to be imported is emp, and its backup is emp. dmp)
***2. Import Solution
* ** 3. Import the
rman recovery. The original intention is that it is so simple, but the results have encountered n-plus problems and cannot be achieved, the following method is obtained after numerous tests.
Oracle version: 11.2.0.0
Group 1 rac? PS: the hostname in front, followed by the colon is instancenameRac1: orcl1Rac2: orcl2Rac3: orl3
Group 2 RAC BRac8: orcl1Rac9: orcl2
I
RMAN to back up the database. Here I only backed up the data files that are prepared to create bad blocks for quick experiments.
[Oracle @ bys001 ~] $ Rman target/Recovery Manager: Release 11.2.0.1.0-Production on Fri Sep 13 13:28:36 2013Copyright (c) 1982,200 9,
Today, I will share with you the solution for oracle Database rman remote recovery. If you do not want to go to the reference page, the specific method is as follows.
I want to implement data guard between two sets of rac. Because datafile, controlfile, and even archivelog are all stored on asm, it is unrealistic to di
I want to do two sets of RAC between the data guard, because Datafile,controlfile, and even archivelog are stored on the ASM, direct copy of the data is a bit unrealistic, ASM disk is always used, so want to do from a library Rman full backup, Then copy the backup file to the B library to do Rman
; print:aA----------0Sql> print:bB----------1Sql> Print:cC----------1Sql> exec DBMS_BACKUP_RESTORE.NIDPROCESSCF (: a,:b);The PL/SQL process has completed successfully.Sql> print:aA----------1Sql> print:bB----------1sql> exec dbms_backup_restore.nidend;The PL/SQL process has completed successfully.Sql> select dbid from V$database;DBID----------3935589514After the successful modification of dbid, the parameter files, control files, data files and log fi
Tags: http io os ar using for SP file dataI want to do two sets of RAC between the data guard, because Datafile,controlfile, even archivelog are stored in ASM, the direct copy of the data is a bit unrealistic, ASM disk is always to use, so want to do from a library Rman full backup, Then copy the backup files to the B-Library to do the
1, the failure Point database recovery
For a recovery of the point of failure (Point-of-failure), also known as full database recovery, the online redo log must be required to be complete and undamaged. If you lose the online redo log, you must do a incomplete
Oracle rman catalog backup and recovery, rmancatalog
1. Lost control fileStart the database to nomount: restore controlfile from autobackup/restore controlfile from '+ data/backup/contrlbak /...'-> Alter
database location. % Oracle_home %/ora92/databaseOf course, you can also use run to flexibly define your backup.RMAN> run {> Allocate chennel d1 type disk; // Distribution Channel> Backup full database // full backup database> Include current controlfile // include the curr
1. Ranking explanation:Restore: RestoreRecover: RecoveryBackup set: similar to tablespaceBackup slice: a data file can be used across multiple backup slices, but in a backup set2. Principles:A. When a file is restored, the file cannot be used by the database instance.B. Only if the incremental level is 0 or full backup
The rman backup script in the Oracle database is very useful for querying the character set SQLgt; select * fromnls_database_parameters; NLS_CHARACTERSETAL32UTF8
The rman backup script in the
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.