|
-
Here's my log flushing rman script:
-----
spool log to '/u1/app/oracle/backup/flush.log';
run {
allocate channel d1 device type disk format '/rman/logfiles/%d_%u_%p';
BACKUP ARCHIVELOG ALL DELETE INPUT;
release channel d1;
}
exit;
spool log off;
-----
I didn't know that you could fire this off more than once. Is that really possible? We had a problem when 2 of these were run on the same db. I believe it was something like control file locking. I think we may have had a "backup current controlfile" included in that script. Maybe that was the problem?
I'm going to run it when x number of logs have accumulated (and it's not already running - jury's still out on this).
The rman script removes the logs from the arch dest after they're backed up /rman/logfiles (nfs mounted fs).
Thanks for your replies and ideas,
Ken
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|