Restaurar Base de Datos por Consola
Por MigueliTUX Feb.02, 2009, categoría SqlServer, Windows
RESTORE DATABASE NOMBRE_BASE_A_RESTAURAR
FROM DISK = ‘UBICACION DE BACKUP‘
WITH MOVE ‘NOMRE_DEVICE’ TO ‘UBICACION DE .mdf’,
MOVE ‘NOMBRE_LOG’ TO ‘UBICACION DE LOG _log.ldf ‘
Ejemplo:
RESTORE DATABASE SOAP FROM DISK = ‘Y:\soap.bk’
WITH MOVE ‘SOAP_Data’ TO ‘D:\BasesSQL\base\SOAP.mdf’,
MOVE ‘SOAP_Log’ TO ‘D:\BasesSQL\base\SOAP_log.ldf’
March 13th, 2010 on 2:03 pm
[...] Base de Datos por Consola http://www.tips.cl/archives/209 #TipsCL [...]
June 19th, 2010 on 1:47 pm
[...] Base de Datos por Consola http://www.tips.cl/archives/209 #TipsCL [...]