TIBCO Data Virtualization® > Business Directory API and System Tables > Backing Up and Restoring Business Directory Information > Restoring Business Directory Encryption settings
 
Restoring Business Directory Encryption settings
You can restore the encryption settings from the backup file. You must know the password that was used to protect the backup file.
To restore Business Directory Encryption Settings
1. Select Help > REST API.
A new browser tab opens with a list of REST methods, grouped by what they act on and what they do.
2. Scroll down to the “security” group and click “Restore the encryption settings from the backup file.”
3. Make sure you have the required rights.
4. Type values for required parameters.
5. Copy the cURL command that is the closest to what you think you will need.
6. Open a command window and run the cURL command. See Using cURL Commands to Run the REST API Methods.
Import as Admin user Example
Here is an example of the CURL invocation you would use as the Admin user.
curl -u "admin:admin" -i -F "encryptionPassword=testPassword" -F "file=@backup_encryption_settings.txt" -X POST "https://localhost:9502/rest/v2/security/import_encryption_settings"