RMAN在归档/非归档,库关闭/mounted/开启状态下的备份


需要将目标数据库 (至少) 开启为mounted状态,并连接到目标库。

 

SQL> startup mount
ORACLE 例程已经启动。

Total System Global Area  612368384 bytes
Fixed Size                  1250428 bytes
Variable Size             322964356 bytes
Database Buffers          281018368 bytes
Redo Buffers                7135232 bytes
数据库装载完毕。

SQL> exit
从 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining Scoring Engine options 断开

C:\>RMAN  target  sys/oracle@test01  catalog  rman_cat/oracle@rman01

恢复管理器: Release 10.2.0.1.0 - Production on 星期一 6月 13 11:00:56 2011
Copyright (c) 1982, 2005, Oracle.  All rights reserved.

已连接到目标数据库: TEST01 (DBID=3556425887, 未打开)
连接到恢复目录数据库

RMAN>

请使用浏览器的分享功能分享到微信等