Restoring Verify Privilege Vault from a Backup
To restore your Verify Privilege Vault from a backup:
Restoring the Application
-
Extract your backup zip file of the Verify Privilege Vault application directory, or copy the files from your other backup location to the physical file path that your virtual directory is pointing to.
-
If you have configured encryption of your
encryption.configusing EFS or DPAPI, you will need to replace the file from the backup with the unencrypted one. -
Check that FIPS mode is not enabled on the server to avoid an error during the process.
Restoring the SQL Server Database
Choose one of the following scenarios:
Scenario One: Database and Verify Privilege Vault Are in the Same Location
-
Open SQL Server Management Studio and connect.
-
Right click Databases and click the Restore Database button.
-
In the To database text box, type the database name or select it from the drop down list.
-
Click to select the Device radio button.
-
Browse to your database backup file.
-
In the Restore Database window Options section, ensure the Force Restore over Existing Database check box is checked.
-
Click the Ok button.
-
If you get an error saying that Management Studio was unable to get exclusive access to the database:
- Right click on the Verify Privilege Vault database and go to Properties.
- At the very bottom, change the Restrict Access property to "SINGLE_USER". This closes all other connections to the Verify Privilege Vault database.
- Re-attempt the restore.
-
Disable Force SSL if there is no certificate installed on the server you are restoring to.
-
In SQL Server Management Studio, expand the databases and select the database for Verify Privilege Vault.
-
Select New Query at on the menu bar to open a query pane.
-
Copy the following command:
UPDATE [dbo].[tbConfiguration] SET ForceHttps = 0into the query pane -
Click Execute on the menu bar.
-
After the query executes successfully, restart Internet Information Server (IIS) by running
iisresetfrom the command line.If you are prompted for database credentials when accessing Verify Privilege Vault and are unable to re-connect, you may need to remap the user. -
Expand the Security > Users folder under the Verify Privilege Vault database.
-
Remove the user that Verify Privilege Vault will use to access the database.
-
Expand the Security > Logins folder under the SQL Server root.
-
Right click on the log on corresponding to Verify Privilege Vault and select User Mappings.
-
Re-map the log on to the Verify Privilege Vault database.
-
If necessary, activate your licenses by going to the Licenses page.
Scenario Two: The Database and Verify Privilege Vault Are in Different Locations
-
Delete the
database.configfile from the Verify Privilege Vault folder. -
Restart Internet Information Server (IIS) by running
iisresetfrom the command line. -
Use your Web browser to navigate to the new instance of Verify Privilege Vault. This redirects you to the Web installer because the
database.configfile is missing and it thinks you have not installed yet. -
Open SQL Server Management Studio and connect.
-
Right click Databases and click the Restore Database button.
-
In the To database text box, type the database name.
-
Click to select the Device radio button.
-
Browse to your database backup file.
-
In the Restore Database window options make sure the Force Restore over Existing Database Check box is checked.
-
Click Ok.
-
If you get an error saying that Management Studio was unable to get exclusive access to the database:
-
Right click on the Verify Privilege Vault database and go to Properties.
-
At the very bottom, change the Restrict Access property to "SINGLE_USER". This closes all other connections to the Verify Privilege Vault database.
-
Re-attempt the restore.
-
-
Disable Force SSL if there is no certificate installed on the server you are restoring to.
-
Copy the following command:
UPDATE [dbo].[tbConfiguration] SET ForceHttps = 0into the query pane -
Click Execute on the menu bar.
-
Navigate through the Web installer to Step 3.
-
Type the new database credentials (new server location, username, and password).
-
If you are unable to re-connect you may need to remap the user.
If you are prompted for database credentials when accessing Verify Privilege Vault and are unable to re-connect, you may need to remap the user. -
Expand the Security > Users folder under the Verify Privilege Vault database.
-
Remove the user that Verify Privilege Vault will use to access the database.
-
Expand the Security > Logins folder under the SQL Server root.
-
Right click on the log on corresponding to Verify Privilege Vault and select User Mappings.
-
Re-map the log on to the Verify Privilege Vault database.
-
Once past Step 3, you are finished. Go to the
home.aspxpage (click the Verify Privilege Vault logo). There is no need to go any further with the install because thedatabase.confighas been recreated with the new information. -
If necessary, activate your licenses by going to the Licenses page.