Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lesson Learned: MULTIPLE Backups

Status
Not open for further replies.

pl12987

Programmer
Aug 2, 2001
53
US
Okay, so you've got your database backup cycling every 24 hours right? Maybe even 12 hours- man, you don't want to lose ANY data in a restore, do you?

What happens if a backup goes by before you find out about the error?

That just happened to me. I started noticing strange errors and spent nearly a day figuring out what was happening. Then I discovered I had accidently deleted rows in a table I THOUGHT was a testbed table - but it was the live table. Oops! [sadeyes]

Restored the DB. The data was still missing! My debugging skills weren't fast enough. I needed to restore from the day prior, but it wasn't there anymore, because I only had one file available: the most recent backup.

Lesson learned: keep your most recent backup, and one from five days ago, and maybe 10 days ago, too. You never know what data you will need in a restore!


 
We perform a full backup to a new file each day. The backup file name contains the date and time of the backup. Each of these files is in turn archived to tape. Then, just after the next backup is created, the previous day's backup is deleted. We maintain several months of archived backups. Differential and transaction log backups are handled in the same manner. Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top