Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RMAN-01009: syntax error

209473Apr 13 2013 — edited Apr 16 2013
Could you please help me figure out the syntax for this small script. I am getting an error here.

run {
backup as compressed backupset
database plus archivelog
delete all input;
include current controlfile spfile;
}
exit;


RMAN> run {
2> backup as compressed backupset
3> database plus archivelog
4> delete all input;
5> include
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "include": expecting one of: "allocate, alter, backup
, beginline, blockrecover, catalog, change, copy, convert, crosscheck, configure, dup
licate, debug, delete, execute, endinline, flashback, host, mount, open, plsql, recov
er, release, replicate, report, restore, resync, }, set, setlimit, sql, switch, start
up, shutdown, send, show, transport, validate"
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2013
Added on Apr 13 2013
7 comments
1,778 views