April 9, 2012 at 6:03 am
Hi
I want to give a user for Backup and Restore permission, but without sysadmin role
is it possible
Pls help
April 9, 2012 at 6:08 am
a person with db_owner permissions has the ability to backup, restore, or even drop their own database, i believe.
that's very easy to test.
Lowell
April 9, 2012 at 6:15 am
Otherwise the database role for backups is db_backupoperator.It grants BACKUP DATABASE, BACKUP LOG, CHECKPOINT in that database.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 9, 2012 at 6:23 am
Lowell (4/9/2012)
a person with db_owner permissions has the ability to backup, restore, or even drop their own database, i believe.that's very easy to test.
i had already given the db_owner permission but it showing error like this
Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the file or path exists.
the error shows i don't have permission on the server where sql server is hosted.
April 9, 2012 at 6:28 am
GilaMonster (4/9/2012)
Otherwise the database role for backups is db_backupoperator.It grants BACKUP DATABASE, BACKUP LOG, CHECKPOINT in that database.
i tried this too but same error
Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the file or path exists.
April 9, 2012 at 7:44 am
Ensure that the SQL Server service account has permissions to the location the backup file will be written.
That's not a SQL permission error, it's a windows permission error.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 9, 2012 at 7:52 am
dilipd006 (4/9/2012)
Lowell (4/9/2012)
a person with db_owner permissions has the ability to backup, restore, or even drop their own database, i believe.that's very easy to test.
i had already given the db_owner permission but it showing error like this
Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the file or path exists.
the error shows i don't have permission on the server where sql server is hosted.
Those are additional errors caused when the SQL Server service, or the user login, doesn't have haccess to a particular path. Those permissions are completely independent of SQL Server and are managed through Windows, Active Directory, or whatever other security configurations you have running.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 9, 2012 at 10:37 pm
Thanks for the reply
Can u explain how to give this permissions(windows) to sql serservice account.
The SQL server and sql server agent is run under Built in account(Local system)
April 10, 2012 at 1:58 am
Is the folder on the local machine or elsewhere? If elsewhere, you'll have to use a domain account for SQL Server, local system doesn't have any rights outside of the server.
btw, local system is not recommended for SQL Server service account. Too many permissions.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 10, 2012 at 3:51 am
Hi,
If you manage Windows Level Security though Active Directory, you can provide him "Local Admin (LA)" permission on that Server to the person, if you wish to.
or else
you can only provide him permission on that particular folder (on Destination Server) with Read or Write or Full Access whatever he wants.
April 10, 2012 at 4:36 am
Piling on to what Gail said, you need to provide a domain account for SQL Server and give it permissions to that folder.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply