Before you restore

Before you can restore a database, make sure that the following conditions are met:

Restore requires exclusive access to the database. The default database server startup option -gd DBA guarantees that only the DBA can start a database. To ensure exclusive access, start the database server with the -gd DBA option set, but do not start the database you are restoring. RESTORE automatically starts the database in such a way that no other users can connect to it.

You must restore an entire backup or set of backups. Restoring individual files is not supported. However, you can move database files to a new location, using the RENAME clause of the RESTORE command.