Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

"Hot" Oracle Backups using clonesets

SOLVED
Go to solution
Adam Garsha
Valued Contributor

"Hot" Oracle Backups using clonesets

Does anyone use AdvFS filesystem clonesets to grab online backups of their Oracle databases on Tru64? Any hang-ups on Tru64?

Would this work?:


For each tablespace in my database {
put the tablespace in backup-mode
}

Create a cloneset of the entire "data" filesystem and mount it

For each tablespace in my database {
take the tablespace out of backup-mode
}

Copy all files from cloneset mount point to the "backup" mount point
Unmount and remove the cloneset


Do you have an example script that I could look at for particulars?:

Oracle says this: "Oracle will stop updating file headers, but will continue to write data to the database files even if a tablespace is in backup mode."

Still ok to use filesystem clonesets, correct? Since the Oracle recovery mechanism should handle the possibility of partially written blocks?

Thanks for any input.
3 REPLIES
Mark Poeschl_2
Honored Contributor

Re: "Hot" Oracle Backups using clonesets

Yes, that mechanism should work fine. I've used it with Oracle installations in the past. It looks like your whole database is in one AdvFS domain, which is a little odd, but doesn't affect the validity of using cloned filesets to back things up.

One thing to remember is that your system restore procedures need to account for the fact that you are restoring to someplace other than what was backed up.
Adam Garsha
Valued Contributor

Re: "Hot" Oracle Backups using clonesets

They are small databases.
Alexey Borchev
Regular Advisor
Solution

Re: "Hot" Oracle Backups using clonesets

I vould add in Oracle
"Alter system suspend"
before making clone, and resume after Advfs has created clone.
Just to suspend Oracle IO at clone creation moment.
The fire follows shedule...