12
返回列表 发新帖
楼主: ze466450766

[新特性] oracle11G的全库备份脚本,求指教

[复制链接]
论坛徽章:
1
优秀写手
日期:2014-05-13 06:00:14
11#
 楼主| 发表于 2013-8-23 13:57 | 只看该作者
magscott 发表于 2013-8-23 13:51
# script.:BackFull.sh
# creater:zhangzehui
# date:2013/8/21

感谢!前面的报错没了,后面的报错一样如下:

Recovery Manager: Release 11.2.0.1.0 - Production on Thu Aug 22 22:56:40 2013

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

connected to target database: ORCL (DBID=1350755061)

RMAN> 2> 3> 4> 5>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "advise, allocate, alter, backup, @, catalog, change, configure, convert, copy, crosscheck, delete, duplicate, execute, flashback, host, mount, open, recover, release, repair, report, restore, resync, send, set, show, shutdown, sql, startup, switch, transport, validate, }"
RMAN-01008: the bad identifier was: delect
RMAN-01007: at line 5 column 1 file: standard input

RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: ";"
RMAN-01008: the bad identifier was: c1
RMAN-01007: at line 1 column 17 file: standard input

RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "}": expecting one of: "advise, allocate, alter, backup, @, catalog, change, configure, connect, convert, copy, create, crosscheck, delete, drop, duplicate, exit, flashback, grant, host, import, list, mount, open, print, quit, recover, register, release, repair, replace, report, reset, restore, resync, revoke, run, send, set, show, shutdown, spool, sql, startup, switch, transport, unregister, upgrade, validate, {, "
RMAN-01007: at line 1 column 1 file: standard input

RMAN>

Recovery Manager complete.

使用道具 举报

回复
论坛徽章:
9
ITPUB9周年纪念徽章
日期:2010-10-08 09:31:22奥运会纪念徽章:游泳
日期:2012-07-19 16:38:15奥运会纪念徽章:篮球
日期:2012-10-18 09:31:28奥运会纪念徽章:田径
日期:2012-10-19 10:00:44复活蛋
日期:2013-02-18 15:53:36迷宫蛋
日期:2013-03-05 10:32:55沸羊羊
日期:2015-02-21 23:08:28处女座
日期:2016-02-09 23:01:49妮可·罗宾
日期:2022-02-22 16:23:25
12#
发表于 2013-8-23 14:35 | 只看该作者
ze466450766 发表于 2013-8-23 13:57
感谢!前面的报错没了,后面的报错一样如下:

Recovery Manager: Release 11.2.0.1.0 - Production on ...

LZ里面的rman命令笔误写错了
delect noprompt obsolete;
应该为
delete noprompt obsolete;

使用道具 举报

回复
论坛徽章:
1
优秀写手
日期:2014-05-13 06:00:14
13#
 楼主| 发表于 2013-8-23 14:43 | 只看该作者
magscott 发表于 2013-8-23 14:35
LZ里面的rman命令笔误写错了
delect noprompt obsolete;
应该为

我真是太粗心了,,,,,,,,,,谢谢

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表