Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL server 2008R2 snapshot agent permissions

Posted on 2014-01-09
4
Medium Priority
?
335 Views
Last Modified: 2014-01-09
Hi experts,

What are the minimum or recommended permissions for the Windows account running a merge replication?  

I have read http://technet.microsoft.com/en-us/library/ms151868.aspx but I could not write to the snapshot folder until I had changed the security of the login from public (with dbowner on the distribution database) to sysadmin.  Does the account have to be a sysadmin to do this?

Thanks in advance for your help.

Colin
0
Comment
Question by:colinspurs
  • 2
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 2000 total points
ID: 39768196
It also needs to have db_owner on the publication database.  So try giving it db_owner database role on the publication database and remove the sysadmin server role.
0
 
LVL 3

Author Comment

by:colinspurs
ID: 39768252
Ah!  I meant it has db_owner on the publication database...I had forgotten about the distribution database.  All fine now!  Tanks very much.
0
 
LVL 3

Author Comment

by:colinspurs
ID: 39768256
Whoops - tHanks!
0
 
LVL 10

Expert Comment

by:PadawanDBA
ID: 39768260
No problem!  Always happy to help someone with getting least privileged security working!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how the fundamental information of how to create a table.

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question