Backing Up Business Directory
You can back up Business Directory metadata (custom properties, catalogs, and other data) by exporting it to a password protected CAR file.
To back up Business Directory
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 “metadata: System Metadata” group and click “Export metadata to a file.”
3. Make sure you have the required rights.
4. Type values for required parameters, including an appropriate name and location for the CAR file.
5. Copy the cURL command that is the closest to what you think you will need.
Export as Admin user Example
Here is an example of the CURL invocation you would use as the Admin user.
curl -u "admin:admin" -X GET "https://localhost:9502/rest/v2/metadata?encryptionPassword=testPassword" -o export001.car
Export as an LDAP user Example
Here is an example of the CURL invocation you would use as an LDAP user with BD_ADMIN and ACCESS_DIRECTORY rights.
curl -u "user@ldapDomain:password" -X GET "https://localhost:9502/rest/v2/metadata?encryptionPassword=testPassword" -o export001.car