Solved

SQL server 2008R2 snapshot agent permissions

Posted on 2014-01-09
4
315 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 500 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

809 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