|  | Posted by Seguros Catatumbo on 11/16/07 12:48 
Ok, i think i know how to fix it.
 -WEB is my default database, so when i use query analizer it opens
 that database. It can't restore the database if i am connected. So
 instead of figuring off how to change the default database, i
 connected, changed the current db to master (use master), and then i
 could take web offline with enterprise manager. Now the command seems
 to be working, it will take long, the database is 4GB.
 
 RESTORE DATABASE web FROM DISK ='c:\publica\web_db_200711150500.bak'
 WITH MOVE 'WEB_Data' TO 'c:\pruebadb\web_dos.mdf',
 MOVE 'WEB_Log' TO 'c:\pruebadb\web_dos_log.ldf',
 REPLACE
  Navigation: [Reply to this message] |