Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> RMAN Log only Backup/Restore
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