SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


2008 R2 restore attempts to replicate


2008 R2 restore attempts to replicate

Author
Message
SteveDomarski
SteveDomarski
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 43
Recently my server admin restored a DPM backup to a new DB. DPM has its quirks about restoring a renamed DB to the same file groups as the production server so the admin redirected the mdf and ldf to a different storage group, renamed them and copied them back to the main with the test name. The test DB was attached without incident. All went well until 5 days later when the log space on the test db exceeded the space on the allocated disk. At the time of the restore it was about 300MB and 5 days later with no activity from the requesting user it is 38GB. I was asked to determine why the log could not be shrunk.
Puzzled at why there was so much log created I looked into the usage and found none for the DB. We attempted to backup and restore the db using normal utilities and all was successful but the log still persisted. Looking deeper I found replication articles for the test db in the replication folder or the server. The db it was restored from had replication but I was under the understanding that a backup would not carry the replication articles. When the articles were deleted the log disk returned to 300MB but the data tables inflated by about 35GB. We then shrank the data tables with the reclaim option and the data space returned to normal.
My question, why did the replication articles get picked up from the backup, why did they restore and attempt to activate replication generating logs, why did the log data migrate to the data tables and then disappear in an instant of time it took to shrink the 8GB db dataspace.
Steve D
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search