|
Tuesday, December 01, 2009 |
Method 1:- RESTORE DATABASE NewDatabaseName FROM DISK='D:\YourBackupfilename.bak' WITH MOVE'LOgicalName of the SOurceDatafile' TO 'D:\NewDatabase.mdf', MOVE 'Logicalname of sourcelogfile' TO'D:\NewDatabase_log.ldf' |
Method 2:- RESTORE DATABASE ntest_new FROM DISK = 'C:\temp\test.bak' WITH MOVE 'test' TO 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\ntest_new.mdf' , MOVE 'test_log' TO 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\ntest_new_log.ldf' |
Method 3:- Retrive the Logical file name of the database from backup. |
Method 4:- RESTORE DATABASE YourDB |
Method 5:- RESTORE DATABASE Employee_Data_TSQL |
Method 6:- RESTORE DATABASE Employee_Data_TSQL |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Monday, 30 November 2009
Restore
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment