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!

RMAN archived log job and cronjob

JackRJun 3 2015 — edited Jun 4 2015

Database version: 11.2.0.3

RAC: 4 nodes

OS: Linux 6

I need to run the archived log every 7 hours and need to run 3 times a day. I would like to have at least one hour overlap.

1. will need to backup last 8 hours of Archived logs - is the syntax correct?

BACKUP as BACKUPSET tag '${RMAN_TAG_ARCHBACK}' archivelog from 'sysdate-(8/24)';

2. Need to keep 10 days worth of archived logs in FRA - is the syntax correct?

DELETE NOPROMPT ARCHIVELOG UNTIL TIME SYSDATE-10;

3. How would I set up a cron job that would run every 7 hours - every day. - Need syntax.

Thank you for your help.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 2 2015
Added on Jun 3 2015
5 comments
3,045 views