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/