Re: what permission do a "regular user" need to do backup/restore



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" <sqlapprentice@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5E518DF4-C0FD-490D-B3CD-EF30D304293C@xxxxxxxxxxxxxxxx
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.


.



Relevant Pages

  • Re: xp_startmail: wont run as non sa user
    ... Execute permissions for xp_startmail default to members of the db_owner ... fixed database role in the master database and members of the sysadmin fixed ... server role, but can be granted to other users. ...
    (microsoft.public.sqlserver.programming)
  • Re: Application Role
    ... One additional point--application roles are also members of the public ... database role, so they will have any permissions granted to public. ... >have created logins ...
    (microsoft.public.sqlserver.security)
  • Re: Permissions required to restore a database
    ... If the database being restored does not exist, ... DATABASE permissions to be able to execute RESTORE. ... the db_owner fixed database role do not have RESTORE permissions. ...
    (microsoft.public.sqlserver.tools)
  • RE: Question re: Admins Group
    ... Members of the Admins group have special permissions, ... whereas a user joined to Admins group can. ... Members of the Admins group have built-in permissions that one cannot assign ... See http://www.QBuilt.com for all your database needs. ...
    (microsoft.public.access.security)
  • Re: Rights for backup/restore
    ... If the database being restored does not exist, ... DATABASE permissions to be able to execute RESTORE. ... the db_owner fixed database role do not have RESTORE permissions. ...
    (microsoft.public.sqlserver.security)