Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to backup only the required set of archivelogs for a consistent Hot-Backup

kaushiksubramSep 8 2017 — edited Sep 12 2017

Hello Experts

I have a RAC environment which I perform adhoc hot-backups using RMAN, this database also generates high amount of archive logs

I use the following to perform Hot-backups

RMAN> backup as compressed backupset database format '<path>/rman_%t_s%s_s%p.bkp' TAG 'DB_BKP' include current controlfile plus archivelog  '<path>/rman_%t_s%s_s%p.arc'  TAG 'ARC_BKP';

The problem is, all the archives which are not backed up before are now being backed up, which increases the backup duration and storage required for the backup

My goal is to backup only the set of archives which are needed for the consistent hot-backup

One way which I could think of, is to perform the backup in below order

1. Backup only Database

2. Find the SCN range needed for recovery

"RESTORE DATABASE PREVIEW" which indicates the recovery SCN and the SCN to clear fuzziness

3. Backup the set of archive logs using "FROM SCN" and "UNTIL SCN"

Are there any other methods to backup only the required set of archivelogs for a consistent Hot-Backup ? It would also be better if this process can somehow be automated to avoid manual intervention

Thanks,

Kaushik

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 10 2017
Added on Sep 8 2017
11 comments
4,936 views