Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Backup Archived logs using RMAN

Backup Archived logs using RMAN

From: Helmut Daiminger <hdaiminger_at_vivonet.com>
Date: Thu, 30 Nov 2000 10:04:59 -0800
Message-Id: <10696.123337@fatcity.com>


Hi there!

And again another problem that I ran into:

How do I tell RMAN where I want my archived redo logs backup to be written to?

run {

     allocate channel ch1 type disk;
     backup archivelog
     from time 'SYSDATE-10' until time 'SYSDATE';
    }

This script works fine, but it creates the backup set as C:\ORACLE\ORA81\DATABASE\3RCBP835_1_1 and I want it to be written to another location (on the file server)

run {

     allocate channel ch1 type disk;
     backup archivelog
     from time 'SYSDATE-10' until time 'SYSDATE';
     format '\\file\oradata\taz\rman\archived_log_%d_%U.arc';
}

This script gives me an error message saying

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands RMAN-01005: syntax error: found "format": expecting one of: "allocate, alter, backup, beginline, catalog, change, copy, duplicate, debug, execute, endinline, host, mount, open, plsql, recover, release , replicate, restore, resync, }, set, setlimit, sql, switch, startup, shutdown, send, validate"
RMAN-01007: at line 5 column 6 file: standard input

Any idea what is going wrong?

This is 8.1.6 on Win2k. Received on Thu Nov 30 2000 - 12:04:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US