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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sql sever Recovery methods

Status
Not open for further replies.

ferortiz

Programmer
Feb 20, 2001
1
MX
My problem is:
1.- What to do if my DB is damaged but I don't want to lose today's transaction? I have yesterday's backup.

2.- A batch process failed and my DB went inconsistent. I want to rollback to the point before the process started.
 
If your batch process uses transactions a rollback transaction executed on the same connection should work. If fact it if the batch process failed (and it wsa using transactions) it should have already rolled back. If not you are probably stuck restoring last nights backup and any tranaction log backups you have prior to the batch process starting. Also if it makes sense in your situation you might consider restoring the backup to a different database name and working to see what if anything is savable from your current databases and combining them. Obviously this is major surgery an wold depend on what data entry you were trying to save and if it was totally segregated from whatever the batch process munged.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top