Restoring the SQL Server database

If you encounter any problems with your database or if you want to move it between different instances of BigFix Inventory, you can use a backup file to restore the database.

Before you begin

  • You can back up and restore the database only within one version of BigFix Inventory.
  • Ensure that you are logged in to Microsoft SQL Server Management Studio as the user who created the temadb database. If you log in as a different user, the restoring will fail.
  • BigFix Inventory and Microsoft SQL Server Management Studio must be installed.
  • Stop the BFIserver service. Open the command prompt and run net stop BFIserver.

Procedure

  1. Log in to the computer on which you want to restore the database.
  2. Open Microsoft SQL Server Management Studio.
  3. In the left navigation bar, right-click on Databases and then click Restore Database.
    Restoring the database.
  4. In the Source section, select Device and click the button with three dots.
    Browsing for the device.
  5. In the pop up window that opens, click Add and browse for your backup file. Click OK.
  6. In the left navigation menu, click Options.
  7. In the pane on the right select Overwrite the existing database (WITH REPLACE) and Close existing connections to destination database.

    Options panel
  8. Click OK.

What to do next

Upload the software catalog to avoid problems with the data import. At this point, there might be some discrepancies between the server and the contents of the database, which will be resolved after the upload.