IMPAX 6.5.1 Server Knowledge Base home > SQL Server home > Restoring the SQL databases

Restoring the SQL databases: Restoring the master database

1. Back up the transaction logs > 2. Restore the master database > 3. Restore the additional databases > 4. Restore transaction logs > 5. Test the restored database

This procedure applies to SQL Server 2005 and to SQL Server 2008.

Only experienced personnel should restore a database from a backup. Contact your service representative to complete these tasks.

Note:

Note:

Ensure that you are logged in using the AgfaService account; you cannot log into SQL Management Studio using the Administrator account.

To restore the master database

  1. Open the SQL Server Management Studio.

  2. Open a new query window and type:

    restore headeronly from tape_backup1

  3. If tape_backup1 is not defined, type:

    restore headeronly from tape='\\.\Tape0'

  4. If the tape cartridge was ejected, reinsert it.

  5. To run the command, click Execute.Execute

  6. Open SQL Server Configuration Manager.

  7. To start SQL Server in single user mode, open a command prompt and type:

    sqlservr.exe –m

  8. Open another command prompt and type:

    sqlcmd /E

  9. Type:

    use master

    go

    restore database master from tape_backup1

    go

    The master database is now restored.

  10. Exit and restart the SQL Server Management Studio.


Next, restore the additional databases.


See also


Topic number: 47001

Applies to: IMPAX 6.5.1 Server Knowledge Base