Restore a SQL database
Restore the ThoughtFarmer database from a backup
Note: Ensure the ThoughtFarmer site, service and application pool are turned off before starting this process. Any open connections will cause the restore to fail.
- Launch SQL Server Management Studio using an account with administrator privileges.
- Connect to the database server where the ThoughtFarmer database is hosted.
- Select the ThoughtFarmer database (the database itself may be called something else, depending on what you selected during installation) from the Databases section of the currently selected database server.
- Right click on the ThoughtFarmer database and select Tasks > Restore > Database. This will open the Restore Database window.
- On the General page, under Specify the source and location of backup sets to restore, select From device and click the ... button to specify a backup file.
- From the Specify Backup window, select File from the Backup media dropdown list, then click the Add button.
- Navigate to your ThoughtFarmer database backup file, select it, and hit OK, then hit OK again on the Specify Backup window.
- Under the Select the backup sets to restore listing, check the backup you want to restore.
- Select the Options page from the left menu.
- Under Restore options, check Overwrite the existing database ONLY if you are overwriting an existing ThoughtFarmer database. If you are creating a new database, you can ignore this step.
- Under Restore the database files as, make sure that the Restore As file paths are correct. (They will be the same paths as where the database original was housed, so if you've changed servers and/or database file locations, you may need to update these paths.)
- Hit OK on the Restore Database window and the database should be restored properly.
Comments
0 comments
Please sign in to leave a comment.