Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

what permission do a "regular user" need to do backup/rest..

 
   Database Forums (Home) -> Security RSS
Next:  Query Multiple databases  
Author Message
sqlapprentice

External


Since: Mar 03, 2006
Posts: 4



(Msg. 1) Posted: Wed Oct 29, 2008 10:25 am
Post subject: what permission do a "regular user" need to do backup/restore
Archived from groups: microsoft>public>sqlserver>security (more info?)

Hi,

I need to give backup/restore function to a user "dbo" for his own database.
This is on SQL 2005.
What permission do I need to setup for this user so I don't give too much.

Thank you for the great support.

 >> Stay informed about: what permission do a ""regular user"" need to do backup/rest.. 
Back to top
Login to vote
Uri Dimant

External


Since: Aug 24, 2003
Posts: 739



(Msg. 2) Posted: Thu Oct 30, 2008 3:25 am
Post subject: Re: what permission do a "regular user" need to do backup/restore [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If the user is member of db_owner db role he/she will have permission
otherwise BACKUP DATABASE and BACKUP LOG permissions default to members of
the sysadmin fixed server role and db_backupoperator fixed database roles.

BOL says
If the database being restored does not exist, the user must have CREATE
DATABASE permissions to be able to execute RESTORE. If the database exists,
RESTORE permissions default to members of the sysadmin and dbcreator fixed
server roles and the owner (dbo) of the database (for the FROM
DATABASE_SNAPSHOT option, the database always exists).

RESTORE permissions are given to roles in which membership information is
always readily available to the server. Because fixed database role
membership can be checked only when the database is accessible and
undamaged, which is not always the case when RESTORE is executed, members of
the db_owner fixed database role do not have RESTORE permissions.



"sqlapprentice" wrote in message

> Hi,
>
> I need to give backup/restore function to a user "dbo" for his own
> database.
> This is on SQL 2005.
> What permission do I need to setup for this user so I don't give too much.
>
> Thank you for the great support.

 >> Stay informed about: what permission do a ""regular user"" need to do backup/rest.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Backup permission - I have just added to an application I am working on the ability for the user to create a backup of the database the application is connected to. The backup works just fine, but prior to the backup I'd like to be able to check that the user has BACKUP...

User Not Listed for Permissions on a View - I am using Enterprise Manager and opening Properties; Permissions for a view that I had created. It appears that most of the network domain users are listed for assignment of access privileges. At least one user I am interested in, however, is not..

how to give a user permission to modify a view definition - Hi, We need to give a user a permission to modify the definition of a single view in an SQL Server 2000 database. We do not want to give the user any of the predefined roles(like ddladmin), because we would be given him more permissions than really..

Permission problems user can't create a table - Hi there, I'm new to SQL 2005 and am having what is probably an easy problem. I have created a user called testuser in a database called testdb. The login has access to the testdb database and has a default schema of dbo. I then allowed testuser the..

Backup user's password lost - Hi, I'm doing a backup (SQL 2000/Windows 2003 Server) on a net share (Win Server 2003). I created a special user in the Acitve Directory and gave him a password. SQL Job Agent runs using this account. It works fine, but when I restart the SQL-server,....
   Database Forums (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]