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

Home -> Community -> Usenet -> c.d.o.server -> RMAN Log only Backup/Restore

RMAN Log only Backup/Restore

From: Uso <usofwd_at_gmx.net>
Date: Tue, 28 May 2002 15:24:23 +0400
Message-ID: <acvpd9$t2m5@news.emirates.net.ae>


Hi,

I want to do a log files only backup with RMAN.

I do the Backup with this script:

connect target 'internal/oracle'
run {
allocate channel t1 type 'SBT_TAPE';
allocate channel t2 type 'SBT_TAPE';
  sql 'alter system archive log current';   # backup all archive logs
  backup
   filesperset 20
   format 'al_%s_%p_%t'
   (archivelog all
    delete input);
}

How do I the restore of the logs? Can I use the same restore command as for the database?

connect target 'internal/oracle_at_abd'
run {
# Restore all datafiles, and recovers them completely. allocate channel t1 type 'SBT_TAPE';
allocate channel t2 type 'SBT_TAPE';
  restore
    (database);
  recover database;
}

regards
Uso Received on Tue May 28 2002 - 06:24:23 CDT

Original text of this message

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