Re: Rights needed to restore DB



I have an SQL 2005 box in an academic setting. Students log-in using SQL
server authentication. They can create, modify and backup their DBs'

When using the restore wizard and specifying a file location where the
backup is located they get an error.

c:\ProgramFiles\...\...\...\Backup
Cannot access the specified path or file on the server. Verify that you
have
the necessary security privileges and that the path or file exists
If you know that the service account can access a specific file, type in
the
full path for the file in the File Name control in the Locate dialog box.

The back-ups are being created and can be restored by the Instructor (with
full system rights)

What am I missing here? students can write but not read there own files.

BACKUP DATABASE permission is not enough for restoring. 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.

--
Dejan Sarka, SQL Server MVP
Mentor, www.SolidQualityLearning.com
Anything written in this message represents solely the point of view of the
sender.
This message does not imply endorsement from Solid Quality Learning, and it
does not represent the point of view of Solid Quality Learning or any other
person, company or institution mentioned in this message



.



Relevant Pages

  • RE: How do I restore from mdf and ldf files?
    ... Tasks -> Backup Database ... Tasks -> Restore Database ... Windows 2003 Server with Latest Service Pack ... Pre-requisites for Sharepoint Backup and Restore: ...
    (microsoft.public.sharepoint.portalserver)
  • RE: How to restore edb & stm files from bkf backup file on another exc
    ... copied to a different storage group on the same server or to a different ... On production server successfully backup information ... Restore Status ... Failed to find a database to restore to from the Microsoft ...
    (microsoft.public.exchange.admin)
  • Re: Copying a database between servers
    ... In 2000 you can backup to an UNC path ... or a local drive and the same goes for the restore. ... backup the database and then restore it on the new server. ... >>> one SQL Server 7.0 database with 'select' access to another SQL ...
    (microsoft.public.sqlserver.tools)
  • Backup and Restore Files
    ... What is the best way to backup and restore a runtime database file? ... pszDisplayName As String ...
    (microsoft.public.access.gettingstarted)
  • Re: Adventures in Server restore
    ... >> I thought I'd pass on my experience in bringing back an exchange server ... >> restore exercises, a real restore turned out to be far from easy. ... I'm not sure what happened (but a online backup was going ... >> persists then please restore the database from a previous backup. ...
    (microsoft.public.exchange.admin)