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 12»»

Restore with point in time Expand / Collapse
Author
Message
Posted Monday, June 21, 2010 11:40 PM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, July 7, 2014 1:42 AM
Points: 279, Visits: 1,200
Dear all,

I have a database db1 as simple recovery model, i have a backup(bak) for that month of 2010-06-22, but i want to restore the database up to 2010-05-01

Please tell me how can i perform this operations



Many Thanks!
S.saravanan
“I am a slow walker, but I never walk backwards-
Abraham Lincoln”
Post #940758
Posted Monday, June 21, 2010 11:46 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 3:35 AM
Points: 42,342, Visits: 35,406
If you want to restore to the 1st May, you need a backup from the 1st May. Since the DB is in simple, you need a backup from the date that you want to recover from.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #940760
Posted Tuesday, June 22, 2010 12:10 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, July 7, 2014 1:42 AM
Points: 279, Visits: 1,200
If we have full recovery model , can we do that? and how?

Many Thanks!
S.saravanan
“I am a slow walker, but I never walk backwards-
Abraham Lincoln”
Post #940770
Posted Tuesday, June 22, 2010 1:41 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 3:35 AM
Points: 42,342, Visits: 35,406
Then you need a full backup from before the 1 May, and log backups up to the point that you want to recover from.

You can never restore to a point before the full backup that you're using was taken.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #940793
Posted Tuesday, June 22, 2010 4:21 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, March 4, 2014 10:03 AM
Points: 1,106, Visits: 1,334
Saravanan_tvr are you actually serious?

Adam Zacks

-------------------------------------------

Be Nice, Or Leave
Post #940890
Posted Tuesday, June 22, 2010 5:15 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, July 7, 2014 1:42 AM
Points: 279, Visits: 1,200
Am not serious, My problem is unable to understand our Gila replies..

Many Thanks!
S.saravanan
“I am a slow walker, but I never walk backwards-
Abraham Lincoln”
Post #940928
Posted Tuesday, June 22, 2010 5:20 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, March 4, 2014 10:03 AM
Points: 1,106, Visits: 1,334
Saravanan_tvr (6/22/2010)
Am not serious, My problem is unable to understand our Gila replies..


WHat she mean is that you cant restore/revert a database back to a past time without at least a full backup (.bak file) from that date or a backup from before that date and log backups taken after the backup and upto the required point in time?

Is that clearer? Think of it like this, if you have a calendar, you cant go back to see what you were doing in May if you have thrown away every page older then a week ago.


Adam Zacks

-------------------------------------------

Be Nice, Or Leave
Post #940930
Posted Tuesday, June 22, 2010 5:24 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 3:35 AM
Points: 42,342, Visits: 35,406
Saravanan_tvr (6/22/2010)
Am not serious, My problem is unable to understand our Gila replies..


What part of my replies are unclear?

If you want to restore to 1 May, you need a backup that was taken before 1 May. There's no way to go back in time, to restore to a point before a backup was taken.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #940931
Posted Tuesday, June 22, 2010 5:42 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, July 7, 2014 1:42 AM
Points: 279, Visits: 1,200

I understood everything ,Sorry for my bad English,
Actually we are taking the backups weekly once, after two weeks we will delete the old backup files,

But still our one of DB guy asking up to last month database that's a way am asking , is its possible to give the database up to last month..

FYI,
1)Full backup
2)DB is full Recovery


Many Thanks!
S.saravanan
“I am a slow walker, but I never walk backwards-
Abraham Lincoln”
Post #940940
Posted Tuesday, June 22, 2010 5:49 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 3:35 AM
Points: 42,342, Visits: 35,406
Saravanan_tvr (6/22/2010)

But still our one of DB guy asking up to last month database that's a way am asking , is its possible to give the database up to last month..


Only if you have a backup from BEFORE the date that he wants. If he wants a database from 3 weeks ago and you delete backups older than 2 weeks, then I assume you do not have a backup 3 weeks old. If that's the case, you cannot give him what he wants.

FYI
1)Full backup
2)DB is full Recovery


Totally irrelevant. Same answer applies regardless of recovery model



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #940947
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse