RMAN:恢复管理器

RMAN:恢复管理器
可以连接的3中数据库有:
1:Target database【 只有sysdba权限才能连接target database】
2:Recover catalog database【目录数据库存有RMAN备份的信息】
3:Auxiliary database【连接主数据库时候也可以连接辅助数据库,可以将主数据库copy到辅助数据库】

[oracle@gechong ~]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 5 15:55:25 2013

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

SQL> conn /as sysdba
Connected to an idle instance.
SQL> archive log list
ORA-01012: not logged on
SQL> show user
USER is "SYS"
SQL> startup
ORACLE instance started.

Total System Global Area  598437888 bytes
Fixed Size                  1338140 bytes
Variable Size             360711396 bytes
Database Buffers          230686720 bytes
Redo Buffers                5701632 bytes
Database mounted.
Database opened.
SQL> archive log list
Database log mode              No Archive Mode
Automatic archival             Disabled
Archive destination            USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence     1
Current log sequence           3
SQL>


SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release                          

11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Te                         

sting options
[oracle@gechong ~]$ rman target /

Recovery Manager: Release 11.2.0.1.0 - Production on Mon Aug 5 1                         

5:58:08 2013

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rig                         

hts reserved.

connected to target database: ORCL (DBID=1350434187)

RMAN>

RMAN> backup database;

RMAN> list backupset;
如果没有format,那默认被分到闪回区。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28212711/viewspace-767807/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/28212711/viewspace-767807/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值