|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 10:00 PM
Points: 453,
Visits: 371
|
|
Last time I tested the Litespeed object level restore it took about the same amount of time as a full restore so i haven't bother with it since, anyone used it recently and can comment about object restore times compared to full database restores on medium/larger databases (50gb-100gb+)?
Cheers
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Tuesday, June 11, 2013 5:01 AM
Points: 4,814,
Visits: 1,343
|
|
Good article. It was so nice that freshers will understand it very easily. Great effort. :)
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Today @ 4:41 PM
Points: 125,
Visits: 454
|
|
Not to be well mean. But building a restore next to a prod DB and comparing data should be what we always do. I'm mean your just sewing together something that is missing. You can't very well roll back a DB to yesterday just because 16 rows where dumped. That would be well foolish.
I will say that I have had to do something similar to what your outlining about 5 times this year alone. One mistake by an analyst or developer can have you up all night. Should we lock them out of PROD, yes of course we do, but what I see in these events is someone drops code that deletes more then it should and once given the right well it can be misused. This can be very painful especially as I have one DB at 2 TB, and it's always an emergency to find a server admin to give me 2 TB of "temp" space as we are running out seems everyday.
the real problem though is people think you can just grab one table from a backup and don't understand you backup the whole data file not objects in DB's. They assume it's 5 minutes when it can take days to bring back and of course they have a deadline that they will now not meet. Ah the glamours life of a DBA.
As for Red gate they own this site so I won't suck up to much (free shwag? just ask for my address) but there backup program is awesome. You can restore just a table out of I think the professional one, but the cost has my management running for the hills. We tried the 14 day eval and it worked wonderfully. I hope they will drop the price a little in the future. I will also add that it isn't all that faster especially if it's a huge table spread across multiple datafiles, but from a not having to call a server admin for space standpoint I find it to be very useful.
Enjoy...
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, May 09, 2012 10:26 AM
Points: 891,
Visits: 1,958
|
|
I had to do this with an Access database not long ago. A person was given a copy of the database to do a special study and deleted all of the records that they didn't need for their whatever. Unfortunately they were given a copy of the front-end that connected to the live database, so records went bye-bye.
Fortunately we have pretty good backups and recovery, though a bit of work, wasn't too bad. According to my notes, the user wiped 12,000 records from one table, 20,000 from another.
Such fun! I love what I do for a living!
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Saturday, June 15, 2013 2:08 PM
Points: 525,
Visits: 624
|
|
I liked this simple technique and can certainly be helpful in cases when the database being restored is relatively small (I live in a data warehousing world, so 16GB is really small to me). Thank you for the article!
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, May 29, 2013 6:32 PM
Points: 192,
Visits: 112
|
|
Very useful discussion on this partial data recovery. question:
1. Is there any method in recovering partial, ex 2 tables out of 400 tables 20 gb db? I still miss the old SQL6.5. I don't think it is available in SQL2000 and SQL2005. how about SQL2008?
2. SQL Data Compare Pro is definitely a good tool in helping the recovery. I also use SQL Compare Pro. it is a good tool in catching the difference. But it is very poor in export, ex. to xls with details. I could view them when drilling down on one item, but not export them, any idea?
thanks -D
|
|
|
|