Skip to Main Content

Oracle Database Discussions

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!

User-Managed Hot Backup Script? (11g Unix) Right steps?

raindogSep 8 2011 — edited Sep 8 2011
I'm looking for a user-managed hot backup script for 11gR2 on Unix. My client does not want to use RMAN.

I think the basic steps are:

- alter system switch logfile
- alter system log archive current
- alter database begin backup
- alter database backup controlfile ( and also backup to trace)
- copy datafiles, redo, archives, controlfiles to somewhere else
- take database out of hotbackup mode
- I also capture spfile and some other config files

Recovery is just restoring to original locations, STARTUP, and end backup.

Crucially, there may be cases where we have archives that were made after the hotbackup that we want to apply. In that case, it's RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL in order to apply the archives.

Sound right?
This post has been answered by Hemant K Chitale on Sep 8 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2011
Added on Sep 8 2011
3 comments
1,196 views