Windows Server Oracle 19c 19.3 RMAN使用RUN脚本时TAG关键字的注意事项

RUN 
{ 
    BACKUP DATABASE FORMAT "E:\BackUp\DATABASE\ORCLDEV19\recovermgr\FULL" TAG=TagFull;
} 
Recovery Manager: Release 19.0.0.0.0 - Production on Thu Mar 21 01:26:37 2024
Version 19.3.0.0.0

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

connected to target database: ORCLDEV1 (DBID=15398641)

RMAN> RUN 
2> { 
3>     BACKUP DATABASE FORMAT "E:\BackUp\DATABASE\ORCLDEV19\recovermgr\FULL" TAG=Full;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "full": expecting one of: "double-quoted-string, identifier, single-quoted-string"
RMAN-01007: at line 3 column 79 file: E:\BackUp\DATABASE\ORCLDEV19\recovermgr\full.rman


Recovery Manager complete.




Recovery Manager: Release 19.0.0.0.0 - Production on Thu Mar 21 01:27:55 2024
Version 19.3.0.0.0

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

connected to target database: ORCLDEV1 (DBID=15398641)

RMAN> RUN 
2> { 
3>     BACKUP DATABASE FORMAT "E:\BackUp\DATABASE\ORCLDEV19\recovermgr\FULL" TAG=TagFull;
4> } 
5> 
Starting backup at 21-MAR-24
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=404 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00004 name=E:\ORACLE19C_BASE\DOTMATICSDBFILES\ORCLDEV19\UNDOTBS01.DBF
input datafile file number=00007 name=E:\ORACLE19C_BASE\DOTMATICSDBFILES\ORCLDEV19\USERS01.DBF
input datafile file number=00002 name=E:\ORACLE19C_BASE\DOTMATICSDBFILES\ORCLDEV19\USERS03.DBF
input datafile file number=00005 name=E:\ORACLE19C_BASE\DOTMATICSDBFILES\ORCLDEV19\USERS02.DBF
input datafile file number=00008 name=E:\ORACLE19C_BASE\DOTMATICSDBFILES\ORCLDEV19\DOTMATICS_IDX.DBF
input datafile file number=00001 name=E:\ORACLE19C_BASE\DOTMATICSDBFILES\ORCLDEV19\SYSTEM01.DBF
input datafile file number=00003 name=E:\ORACLE19C_BASE\DOTMATICSDBFILES\ORCLDEV19\SYSAUX01.DBF
channel ORA_DISK_1: starting piece 1 at 21-MAR-24

 

posted @ 2024-03-21 09:32  任国强  阅读(29)  评论(0编辑  收藏  举报