SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Build and test Restore Scenarios


Build and test Restore Scenarios

Author
Message
madhu-686862
madhu-686862
SSC Eights!
SSC Eights! (913 reputation)SSC Eights! (913 reputation)SSC Eights! (913 reputation)SSC Eights! (913 reputation)SSC Eights! (913 reputation)SSC Eights! (913 reputation)SSC Eights! (913 reputation)SSC Eights! (913 reputation)

Group: General Forum Members
Points: 913 Visits: 1688
Hi All

could you plz explain me the restore scenarios.Need test cases, like
1.ldf deleted what is the procedure to restore?
2.mdf deleted what is the procedure to restore?
3.master data base is deleted what is the procedure to restore?
4.backup file corrupted what is the procedure to restore?
5.data in table corrupted?

everything to the point in time.In development box I need to generate these scenarios n document,sothat in future if come acroos any of the tested n documented scenario, we can reduce the down time.

So to generate the scenarios,iam continuosly inserting data from one table to other in the same database.I want to test all the possible restore scenarios on this database,iam inserting data to generate some log.before deletind database or ldf take thew row count n after restoring make sure we are getting same row count or not.if not why we are not getting?

Declare @total bigint
Declare @total1 bigint
DECLARE @DATE DATETIME
SET @DATE = GETDATE()
SELECT @TOTAL = COUNT(*) FROM dbo.TEST1
WHILE @DATE < GETDATE()+1
BEGIN
INSERT INTO dbo.TEST
SELECT * FROM dbo.TEST1
SELECT @TOTAL1 = COUNT(*) FROM dbo.TEST
WAITFOR DELAY '00:01:00:00'
IF @TOTAL1 > (@TOTAL*5)
TRUNCATE TABLE dbo.TEST
END


Full backup 2am
Diff every 6hrs
log backup every 15 min.

plz tell me the possible restore scenario I can test for above backup strategy.


Thanks
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search