ITPub博客

首页 > Linux操作系统 > Linux操作系统 > RMAN Run Clause

RMAN Run Clause

原创 Linux操作系统 作者:liu_qingwei2008 时间:2011-04-28 16:46:51 0 删除 编辑

RMAN Run Clause

Combine several RMAN commands into a single task, if any one command fails RMAN uses some vaguely intelligent logic and may or may not abort the remainder of the combined task.

Syntax:

   RUN { 
     ...
   }


Example

RUN
{
ALLOCATE CHANNEL dev1 DEVICE TYPE DISK FORMAT '/fs1/%U';
ALLOCATE CHANNEL dev2 DEVICE TYPE DISK FORMAT '/fs2/%U';
BACKUP
(TABLESPACE system,finance,marketing FILESPERSET 20)
(DATAFILE 62,63,64);
}

Some commands are only valid inside a RUN block e.g. HOST commands and RMAN script. commands - see the documentation for more on RMAN scripting.

"In today's economy there are no experts, no 'best and brighest' with all the answers. It's up to each one of us.
The only way to screw up is to not try anything" - Tom Peters


Related Commands:

BACKUP - Back up database files, archive logs, backups, or copies.
CROSSCHECK
- Check whether backup items still exist.
DELETE
- Delete backups from disk or tape
RECOVER
- Perform. media recovery from RMAN backups and copies.
RESTORE
- Restore RMAN backups and copies.

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

上一篇: RMAN Set Clause
下一篇: rman backup
请登录后发表评论 登录
全部评论

注册时间:2010-05-12

  • 博文量
    37
  • 访问量
    86627