[Show all top banners]

bajara
Replies to this thread:

More by bajara
What people are reading
Subscribers
Subscribers
[Total Subscribers 1]

twisted_dreams
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 SQL server database restore question
[VIEWED 4822 TIMES]
SAVE! for ease of future access.
Posted on 05-02-12 8:29 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I have a full backup running at 1am (FullbackupA), then a seperate backup exec does another full backup at 2am (FullbackupB, I have my differential at 8am (DiffBackupC).

When I try to restore to my differential ( restore FullBackupA and then DiffBackupC), it doesnt work because there is another full backup (FullbackupB) taken at 2am, so the chain is broken. I dont have the .bak file for the one taken at 2am, but i do have .ldf, .mdf files. Is there any way I can restore to my differential at 8am, from 2am (FullBackUpB)? since i dont have .bak file? Can i use my .ldf, .mdf file to restore?

Thanks for  help

 
Posted on 05-02-12 11:56 PM     [Snapshot: 90]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Answer is no. If you lost your differential base (your 2 am full backup), then the only backup you can restore is the one you took at 1:00 am. Using your mdf, ldf files you can only do an attach not restore.
 
Posted on 05-03-12 10:01 AM     [Snapshot: 161]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 You can re-attach the mdf and ldf to another database (Detach them first).  What is this for?  It is your local SQL instance correct?


 
Posted on 05-03-12 12:38 PM     [Snapshot: 200]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 Gonez, Yes I can attach the 2am using my mdf and ldf. But I want to restore to 8am differential. But to use differential, i will need to restore from .bak file (2am) which I do not have .Than you mero_desh. Thats what i thought too
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 30 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
ढ्याउ गर्दा दसैँको खसी गनाउच
To Sajha admin
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
Travel Document for TPS (approved)
All the Qatar ailines from Nepal canceled to USA
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters