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


Is it supposed to cleanup old snapshot folders for trans replication?


Is it supposed to cleanup old snapshot folders for trans replication?

Author
Message
GoldenDBA
GoldenDBA
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1412 Visits: 948
I have a server that I'm finding out today that was setup a long time ago with transactional replication and they set it up to run the snapshot agent once a day to refresh the data and then let the log reader keep it going through the day (not sure why). But looks like nothing has ever gone out to cleanup the old snapshot folders that are created each day (all the way back to early 2010). So the question is...as part of the normal setup process for trans rep, is there something that is automatically supposed to clean up that folder or is that a manual thing in which we can write a job?
Roy Ernest
Roy Ernest
SSCrazy Eights
SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)SSCrazy Eights (8.8K reputation)

Group: General Forum Members
Points: 8787 Visits: 6891
There is a job that runs in the Distribution Database that will clean up old snap shots that were created.
If at any time you changed the path of the snapshot location, it might not delete old snap shot folders. Also make sure that the permissions are set correctly on the windows level so that the clean up agent can delete those files.

-Roy
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