Periodically back up App Visibility databases
To create an App Visibility database backup file
Make a physical backup of the App Visibility PostgreSQL database to protect your data from loss. The output of a physical backup contains the data files that the App Visibility server can use directly, resulting in a faster recovery operation.
On the computer with the App Visibility portal or collector, navigate to the following directory:
- (Windows)
collector_installationDirectory\collector\bin\db
or portal_installationDirectory\portal\bin\db - (Linux)
collector_installationDirectory/collector/bin/db
or portal_installationDirectory/portal/bin/db
If the portal and collector are installed on the same computer, they share a database, and you only need to perform the procedure in one place.
- (Windows)
- Run the following script:
- (Windows) create-pgsql-dump.bat
- (Linux) ./create-pgsql-dump.sh
The script creates a backup of the data in the avdb.dump file in the server component's installationDirectory\ADOP_DB\pgsql\backup directory.
For more information about making PostgreSQL database backup files, see Backup and Restore.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*