Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Build and test Restore Scenarios Expand / Collapse
Author
Message
Posted Monday, November 03, 2008 11:18 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, November 01, 2013 1:02 AM
Points: 529, Visits: 1,688
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

Post #596325
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse