Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 how restore database

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-09-06 : 09:43:49
mohan writes "Hai
MY SCENERIO IS LIKE THIS,I HAVE TAKEN ENTIRE DATABASE BACKUP ,I WANT TO RESTORE TO ANOTHER DATABASE .IS IT POSSIBLE.
Regards
mohan"

izaltsman
A custom title

1139 Posts

Posted - 2002-09-06 : 10:15:08
Yes. See the RESTORE DATABASE command in BOL.
Something like:

RESTORE DATABASE newdb
FROM disk = 'c:\dbbackup.bak'
WITH move 'datafile' to 'd:\data\newdb.mdf'
, move 'logfile' to 'e:\data\newdb.ldf'



Go to Top of Page
   

- Advertisement -