Performing a full database disaster recovery with RMAN

Performing a full database disaster recovery with RMAN
1. Make the RMAN backup set pieces available.
2. Restore the database spfile from autobackups.  --先恢复参数文件
3. Restore the control file from autobackups.--再恢复控制文件
4. Run the RMAN restore and recover command.  --mount状态下restore和recover数据文件
5. Open the database with the alter database open resetlogs command. --以resetlogs方式打开数据库

时间: 2024-11-10 07:14:36

Performing a full database disaster recovery with RMAN的相关文章

Performing Time-Based or Change-Based Incomplete Recovery

OCP 053: 192.What is the purpose of the until change option of the restore command? A. It allows you to select the SCN that you want to restore to. B. It allows you to select the log sequence number you want to restore to. C. It allows you to select

duplicate database的时候,rman连接 auxiliary database的后状态不正确

auxiliary database 已经被startup nomount,但是rman连接后显示状态是not started $ export ORACLE_SID=dupdb $ sqlplus '/as sysdba' SQL> startup nomount $ rman Recovery Manager: Release 11.2.0.1.0 - Production on Fri Jun 26 14:16:14 2015 Copyright (c) 1982, 2009, Oracl

SharePoint 2013 Disaster Recovery——迁移内容数据库

安装和配置SharePoint Farm时,一定要注意将内容数据库不要放在C盘,除非你的C盘能足够承受起日益增长的数据.由于在安装SQL SERVER中没有注意,我将数据库存放在默认的 C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA文件夹中.这时不幸的事情发生了,内容数据库增长过快直到将C盘撑暴,导致SharePoint Server发生意外故障. 所以,迁移内容数据库势在必行了. PowerShell查看

转 RMAN: RAC Backup, Restore and Recovery using RMAN

PURPOSE The purpose of this document is to give a quick guide for using RMAN on RAC databases. We will follow this points: 1. Verify the database mode and archive destination.2. Verify connectivity using sqlnet for target and catalog.3. Determine the

High Availability (HA) 和 Disaster Recovery (DR) 的区别

High availability 和disaster recovery不是一回事. 尽管在规划和解决方案上有重叠的部分, 它们俩都是business contiunity的子集. HA的目的是在主数据中心内部, 提供弹性(resiliency)支持和计划允许内的宕机的时间. DR的目的是使得一个组织能在第一个数据中心发生灾难且影响到了基础设施的可用性的时候, 在第二个数据中心恢复计算机的正常使用.   High availability and disaster recovery are no

ORA-10458: standby database requires recovery

搭建DG最后一步打开时报错如下: SQL> alter database open read only; alter database open read only * ERROR at line 1: ORA-01152: file 1 was not restored from a sufficiently old backup ORA-01110: data file 1: '/data/oradata/orcl/system01.dbf' ORA-16043: Redo apply ha

OCP读书笔记(24) - 题库(ExamD)

301.Which command is used to configure RMAN to perform a compressed backup for every backupexecuted?A. BACKUP AS COMPRESSED BACKUPSET DATABASEB. BACKUP AS COMPRESSED COPY OF DATABASEC. CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSETD.

ocp-261

QUESTION NO: 261 When performing a full database disaster recovery with RMAN, in what order would you execute these steps? a. Restore the control file from autobackups. b. Run the RMAN restore and recover command. c. Restore the database spfile from

053(七十二)

356. 356.Which of the following commands will perform an active database duplication of the ORCL database to the ORCL2 database? A. Set oracle_sid=orcl rman target=sys/robert auxname=sys/Robert@orcl2 create duplicate target database to neworcl from a