Hi Everyone,
I am trying to restore the GP backup database using the following steps below, but I am getting this error regarding the .ldf file
I stopped at Step #19 due to the error I got.
If you are using SQL Server Management Studio, follow these steps:
- Click Start, and then click Programs.
- Point to Microsoft SQL Server 2005 or Microsoft SQL Server 2008, and then click SQL Server Management Studio. The Connect to Server window opens.
- In the Server name box, type the name of the instance of SQL Server.
- In the Authentication list, click SQL Authentication.
- In the User name box, type sa.
- In the Password box, type the password for the sa user, and then click Connect.
- In the Object Explorer section, expand Databases.
- Right-click the test company database, point to Tasks, point to Restore, and then click Database.
- In the Source for Restore area, click From Device, and then click the ellipsis button.
- In the Backup Location area, click Add.
- Find the location where saved the backup file, select LIVE.bak file, and then click OK.
- Click OK. You return to the Restore Database window.
- In the Select the Backup Sets to Restore section, click the backup file that you want to restore.
- In the Select a Page area, click Options.
- In the Restore Database Files as area, you will need to change the location of these two files from the Live database to the test database's .mdf and .ldf files. By default, these will be selected on the Live database's .mdf and .ldf files.
Note The logical file name reflects the name of the live database. Do not change the logical file name. - To change these locations, click on the Ellipse (…) next to the file location field.
- Navigate to the path that you noted in step 1, where the test database was created.
- Highlight the respective .mdf file, and then click OK.
- Repeat steps p through r, select the .ldf file, and then click OK.
- Click to select the Overwrite existing database check box.
- Click OK to return to the Restore Database window
*This post is locked for comments