Database Backup and Recovery (MOSC)

MOSC Banner

RMAN trying to backup restored archive logs

edited Aug 14, 2013 5:11AM in Database Backup and Recovery (MOSC) 5 commentsAnswered ✓
I recently had to restore archivelogs from tape to disk. This is typically what I did:

run {
configure channel device type to 'SBT_TAPE';
configure channel device type 'SBT_TAPE' parms "env=...";
set archivelog destination to '/tmp';
restore archivelog time between 'date_string' and 'date_string);
}

This restored 6 archivelog files to /tmp directory. After I was done applying these restored archivelogs to recover a datafile, I deleted them using OS command. Now when I ran RMAN command to backup archivelogs, the command failed complaining that the logs in /tmp directory were missing.

This is the command to backup archivelogs:

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