|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, November 29, 2012 9:13 PM
Points: 41,
Visits: 158
|
|
I have a full backup, I made a mistake with some data and made a transaction log backup so I could restore the db on another server and compare data.
Now, I made a mistake can called it something like "dbname 5:30pm.trn", which wasn't caught by SSMS, but created a file "dbname 5", because the colon caused an issue.
Once it was done I refreshed the directory and it was 0k in size.
It seems that just broke the restore chain entirely and no TL backups after that corrupt file would be of any use. Time to just do another full backup and start the chain fresh?
Any advice on what a more experienced DBA would do in this situation? Any way to recover the situation or is it just making the best of the situation at this point?
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 8:27 PM
Points: 6,735,
Visits: 11,788
|
|
Are you sure the TL backup completed successfully?
It should not matter the name of the file, or even that it has an extension. SQL Server will still read it as long as it is in the proper format and begins with the correct LSN.
At any rate, if this operation did in fact break the log chain by marking VLF's for reuse but not writing the data to the backup file then you can always re-establish the log chain by taking a differential backup from the source (provided no new FULL backups have been taken since this unfortunate event) and applying it to the secondary database.
__________________________________________________________________________________________________ There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Believe you can and you're halfway there. --Theodore Roosevelt
Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein
The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein
1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
|
|
|
|