EXPERT RESPONSE
It is possible to restore the backups to a different server; however, the
code page and sort orders of the two servers should be the same. The first
database to restore is master (it contains database and user login
information). To restore the master database:
- Stop the sql server services using the Service Manager
- Open a command window
- Start sqlserver in single user mode using the sqlservr.exe -m command from a command prompt
- Open a second command window connect to sqlserver using osql
- RESTORE the master database
- Use the SHUTDOWN command to shutdown SQL Server
- Restart sql server services using the Service Manager
The remaining databases can be restored using Enterprise Manager; the jobs
are in the msdb database while maintenance plans and transaction logs are part of the user database backups. Verify database users are mapped to the
appropriate SQL Server accounts using the sp_change_users_login stored
procedure.
There are two methods for creating a text file for bulkcopy.
- Using DTS create a package that will extract data from a table, view, or
SELECT statement to a comma delimited text file
- Using Query Analyser modify the output to use comma separated values, run
a query, save the output
For further information look in Books On Line for:
- Restoring the master database from a current backup
- osql Utility
- SHUTDOWN
- RESTORE
For More Information
|