Database Backup and Recovery (MOSC)

MOSC Banner

Checking status of archivelogs - Data Protector

Hi Expects,

We have restored the database and recovery done. We would like to check the status of few archivelogs whether they are available. We used the same below commands for restore and recovery.But the list command fails. Not sure whether it is valid inside the RUN block.


RMAN> run{
2> allocate channel 'dev_0' type 'sbt_tape' parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so';
3> send device type 'sbt_tape' 'OB2BARHOSTNAME=erpprod-scan.ttd.com';
send channel 'dev_0' 'OB2BARTYPE=Oracle8';
send channel 'dev_0' 'OB2APPNAME=prodcdb2';
send channel 'dev_0' 'OB2BARLIST=ERP_PROD_19C';
list backup of archivelog sequence 29222;
}4> 5> 6> 7>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "list": expecting one of: "advise, allocate, alter, analyze, associate statistics, audit, backup, begin, @, call, catalog, change, comment, commit, configure, convert, copy, create, crosscheck, declare, delete, delete from, describe, describe catalog, disassociate statistics, drop, drop database, duplicate, execute, explain plan, flashback, flashback table, grant, host, insert, lock, merge, mount, noaudit, open, purge,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center