RMAN备份

RMAN备份当前控制文件错误

不指定地点对当前控制文件进行备份:
RMAN> backup current controlfile;

Starting backup at 18-MAR-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=158 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
channel ORA_DISK_1: starting piece 1 at 18-MAR-09
channel ORA_DISK_1: finished piece 1 at 18-MAR-09
piece handle=/u01/flash_recovery_area/SALIM/backupset/2009_03_18/o1_mf_ncnnf_TAG20090318T062559_4w1m1rm7_.bkp tag=TAG20090318T062559 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 18-MAR-09

Starting Control File and SPFILE Autobackup at 18-MAR-09
piece handle=/tmp/cfc-2484939534-20090318-00 comment=NONE
Finished Control File and SPFILE Autobackup at 18-MAR-09

完成
但是执行

RMAN> backup current controlfile to '/salim/%F.copy';

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "single-quoted-string": expecting one of: "destination"
RMAN-01007: at line 1 column 31 file: standard input

copy current controlfile to '/salim/%d.copy';

backup current controlfile format '/salim/%F.copy';

[@more@]

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

转载于:http://blog.itpub.net/13165828/viewspace-1022688/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值