RMAN Set Clause

RMAN Set Clause

Settings that apply only to the current RMAN session.

Syntax:

   SET { set_rman_option [;] | set_run_option; }

   set_rman_option::=
     { ECHO { ON | OFF }
     | DBID [=] integer
     | CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE deviceSpecifier TO 
     'frmt_string'

   set_run_option::=
     { NEWNAME FOR DATAFILE datafileSpec TO { 'filename' | NEW }
     | ARCHIVELOG DESTINATION TO 'log_archive_dest'
     | untilClause
     | COMMAND ID TO 'string'
     | CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE deviceSpecifier TO 
     'frmt_string'
     .
     .
     .
     }

Key

ECHO - Controls whether RMAN commands are displayed in the message log.

DBID - A unique 32-bit identification number computed when the database is created. RMAN displays the DBID upon connection to the target database. You can obtain the DBID by querying V$DATABASE or RC_DATABASE.

NEWNAME FOR DATAFILE - The default name for all subsequent RESTORE or SWITCH commands that affect the specified datafile.

MAXCORRUPT FOR DATAFILE - A limit on the number of previously undetected physical block corruptions that Oracle will allow in the datafile(s)

AUTOLOCATE - Force RMAN to automatically discover which nodes of an Oracle Real Application Clusters configuration contain the backups that you want to restore.

Related Commands:

CHANGE - Update the status of a backup in the RMAN repository.
CONFIGURE
- Persistent RMAN settings.
LIST
- List backups and copies
REPORT
- Report backup status: database, files, backups
SHOW
- Display the current configuration

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

转载于:http://blog.itpub.net/23898243/viewspace-694031/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值