ITPub博客

首页 > 数据库 > Oracle > RMAN 一些命令复习

RMAN 一些命令复习

原创 Oracle 作者:penglele2009 时间:2011-04-15 17:33:26 0 删除 编辑

作业命令
rman>run {
allocate channel d1 type disk;
backup format 'd:backup%d_%s.bak' tablespace users;
release channel d1;
}

configure default device type to sbt;
configure default device type to disk;

recover database until cancel
alter database open resetlogs

report schema;

报告陈旧备份
report obsolete redundancy 2;

list backup of tablespace user01;

list buackup of controlfile;

list backup of archivelog all;

delete obsolete;
delete noprompt obsolete;

delete noprompt backupset 19;

delete backup
delete noprompt backup;

[@more@]

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

上一篇: HP-UX 常用命令
请登录后发表评论 登录
全部评论

注册时间:2009-11-26

  • 博文量
    199
  • 访问量
    677245