Hi all,
I'm on Sun Solaris platform with Oracle 8i and registered database on RMAN.
Submitting a Backup Job from Enterprise Manager I get the following:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
switch logfile executed
Argument Value Description
-----------------------------------------------------------------------------
target quoted-string connect-string for target database
rcvcat quoted-string connect-string for recovery catalog
debug none if specified, activate debugging mode
cmdfile quoted-string name of input command file
msglog quoted-string name of output message log file
trace quoted-string name of output debugging message log file
append none if specified, msglog opened in append mode
nocatalog none if specified, then no recovery catalog
-----------------------------------------------------------------------------
Both single and double quotes (' or ") are accepted for a quoted-string.
Quotes are not required unless the string contains embedded white-space.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00552: syntax error in command line arguments
RMAN-01006: error signalled during parse
RMAN-02003: unrecognized character:
child process exited abnormally
,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: If I use Backup from RMAN prompt it works fine.
My job on Enterprise Manager console is a Backup Job with
the following parameters built in by the OEM itself :
run {
allocate channel ch_disk type disk format '/usr/local/orabackup/dbflotte/b_%u_%s_%p';
backup
( database include current controlfile );
backup ( archivelog all delete input );
}
The output is in prev entry.
It seems to be a sintax problem , but I can't recognize where,
because the job show out just messages without input lines code !!!
P.S.: The above backup script has token from the OEM by COPY and PAST keys, exactly as it is.
run {
allocate channel ch_disk type disk format '/usr/local/orabackup/dbflotte/b_%u_%s_%p';
backup
( database include current controlfile );
backup ( archivelog all delete input );
}
Code:
run {
#
# Full DB backup
#
allocate channel ch_disk1 type disk;
backup
full
tag backup_db_full
filesperset 5
format '/usr/local/orabackup/dbflotte/b_%u_%s_%p';
(database include current controlfile);
release channel ch_disk1;
#
# Archive the current log
#
sql 'ALTER SYSTEM ARCHIVE LOG CURRENT';
#
# Backup and delete all your archive logs
#
allocate channel ch_disk1 type disk;
allocate channel ch_disk2 type disk;
backup
filesperset 20
format '/usr/local/orabackup/dbflotte/arch_%d_t%t_s%s_p%p'
archivelog all
delete input;
release channel ch_disk1;
release channel ch_disk2;
}
Bookmarks