I have been been asked to perform the recovery of a database as a disaster recovery exercise.
I have recovered an MDF file taken at the end of last week called MyDataBase.MDF, which represents the full backup taken at this time.
I have also recovered an LDF file taken on Tuesday evening, called MyDataBase.LDF, which represents an incrimental backup taken at this time.
Both of these files have been backed up and recovered to disk using a Veritas "Backup Exec" software agent, which takes copies of the MDF and LDF files.
Given that I have a primary data file dated 5th June 06, and a Transaction Log file dated 8th June 06, I am trying to understand how I "re-constitute" the database from these two files, such that I have a rolled forward version of the database as at 8th June 06.
Whats confusing me, is that I am not recovering from a backup version of the database created by the BACKUP command, so I cant restore using the SQL restore options.
Questions:
(a) I assume that I cannot use the SQL Restore capabilities, because the "backup files" are not in backup format. Is this correct?
(b) An LDF was also taken with the full backup MDF. Is this needed? Im assuming not.
(c) An approach I am considering is detaching the "production" database (in a test environment of course), renaming the files, then copying my two recovered MDF and LDF files into the same folder. I cannot see however how to "roll forward" any transactions that are in the log file but not incorporated in the data file of a few days earlier.
Not being a DBA, I might be missing something fundamental here. If someone could point me in the right direction here, I would be grateful,
TIA,
Steve Lewy
Solutions Developer
SimplyData
simplydata.com.au
(dont cut corners or you'll go round in circles)
I have recovered an MDF file taken at the end of last week called MyDataBase.MDF, which represents the full backup taken at this time.
I have also recovered an LDF file taken on Tuesday evening, called MyDataBase.LDF, which represents an incrimental backup taken at this time.
Both of these files have been backed up and recovered to disk using a Veritas "Backup Exec" software agent, which takes copies of the MDF and LDF files.
Given that I have a primary data file dated 5th June 06, and a Transaction Log file dated 8th June 06, I am trying to understand how I "re-constitute" the database from these two files, such that I have a rolled forward version of the database as at 8th June 06.
Whats confusing me, is that I am not recovering from a backup version of the database created by the BACKUP command, so I cant restore using the SQL restore options.
Questions:
(a) I assume that I cannot use the SQL Restore capabilities, because the "backup files" are not in backup format. Is this correct?
(b) An LDF was also taken with the full backup MDF. Is this needed? Im assuming not.
(c) An approach I am considering is detaching the "production" database (in a test environment of course), renaming the files, then copying my two recovered MDF and LDF files into the same folder. I cannot see however how to "roll forward" any transactions that are in the log file but not incorporated in the data file of a few days earlier.
Not being a DBA, I might be missing something fundamental here. If someone could point me in the right direction here, I would be grateful,
TIA,
Steve Lewy
Solutions Developer
SimplyData
simplydata.com.au
(dont cut corners or you'll go round in circles)