Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: UNIX root backup/SAN disk image vs. Oracle Hot Backups
Howard J. Rogers wrote:
> Frank Foss wrote: >
>>> Can UNIX root backup or SAN disk image backup be reliable as Oracle >>> database backup? >>> >>> I don't know internals about root backup or disk images but it sounds >>> like you may end up with inconsistent control file/datafiles when you >>> load them back . >>> >>> is there anybody out there who knows how root backup/disk image works >>> and can tell whether they can replace Oracle hot backups?
>>> >>> Thanks a bunch >>> i.d.
> > I've nothing much to add except that if you're going to break a mirror in > order to grab a backup, you don't actually have to shut the database down > but can instead use the suspend (and resume) statements. > > Suspending a database causes it to be checkpointed and then stops all I/O, > so you have a consistent, cold backup.
Silly me. It's nothing of the kind of course. As the documentation states:
<QUOTE>
SUSPEND | RESUME
The SUSPEND clause lets you suspend all I/O (datafile, control file, and
file header) as well as queries, in all instances, enabling you to make
copies of the database without having to handle ongoing transactions.
Restrictions on SUSPEND and RESUME
So it's still regarded as a hot backup, and I don't know what I was thinking of saying it was cold (yes I do, actually, but that's a different thread!)
Otherwise, my point still stands: it's a better option under certain circumstances than shutting the thing down (and hence destroying your caches).
Regards
HJR
Received on Wed Sep 01 2004 - 19:12:30 CDT