Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: File Restoration/Recovery
Gary,
I second this user's comments. Is it possible to get a valid backup while the database is up? Yes, it is but it is just plain silly (at the very least), to plan to do so. Whether or not this backup is good depends on no activity and if there's no activity, why not just shut it down and do the copy. If this is a development system, you're better off shutting it down to back it up. If it is production, it should be in archivelog mode and you can leave it up but do nightly 'hot' backups by putting the tablespaces in backup mode. I agree with you, I would not routinely, as a plan, write these files to tape (unless, perhaps, your setup allows you to write these files to the same tape(s) each night). If one were to make a list of different ways to backup this database and list them in order of best to worst, this idea of online copies would honestly be near or at the bottom.
Hope this helps.
Darrell
>>> wisernet100_at_yahoo.com 03/14/03 10:54AM >>> no no no no no no
If he is REALLY lucky, and no one is using the database at the instant he does all the copies (and I mean the OS as well), then MAYBE, POSSIBLY, if the Tooth Fairy and Easter Bunny are present and bless the copy, he might have a valid backup.
But I wouldn't bet my job on it.
He needs to have either a noarchivelog "cold" backup (database shutdown) done, which will restore to that point in time, or an archivelog "cold" backup (database shutdown) which will allow you to roll forward providing you also have the archived logs or an archivelog "hot" backup (database up, tablespaces in "begin backup" mode) which will allow you to let anyone keep working while you do the backup and then allow you to roll forward providing you have the archived logs.
Prove it to him: bet him something that will hurt him to lose, then do the copy the way he wants and try to start up the database. Just to ensure sure you prove your point, have some transaction that modifies data running in the database. If you can, make sure that that transaction is active enough to cycle through ALL your online logs and loop back to the first one.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael INET: wisernet100_at_yahoo.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Darrell Landrum INET: DLANDRUM_at_zalecorp.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Mar 14 2003 - 12:50:34 CST