How to recover a lost Trust Protection Foundation database (Microsoft SQL)

If you have lost your Trust Protection Foundation database and cannot recover it, you'll need to use a backup copy of your database to restore Trust Protection Foundation functionality.

To recover from a lost Trust Protection Foundation database

  1. Shut down all Palo Alto Networks services on all servers.
  2. Recover your database from a file or a preferred application.
  3. Recover users.
  4. To ensure that logging and notifications continue to work, restart the service broker for the database.

    To verify if the service broker is enabled, run the following query:

    SELECT is_broker_enabled FROM sys.databases WHERE name = 'Database_name';

    If it is enabled, you should see a 1 under the "is_broker_enabled" column.

    If it is set to "0," then stop all Palo Alto Networks services again and run the following command:

    ALTER DATABASE Database_name SET ENABLE_BROKER

  5. Reconnect the application.