NetBackup for PostgreSQL Agent
Licensing for PostgreSQL is specific to the DataStore policy for protecting PostgreSQL Instances. NetBackup collects the data for any PostgreSQL backup that can be restored.
In the case of PostgreSQL, the sizing information is gathered by listing the size of the Instance data directory of PostgreSQL.
The following commands and queries are used to verify the size that the accurate licensing method reports:
Windows platform
Lists the files on the system and their sizes.
Dir <Instance data directory>
Get the database size using PostgreSQL query.
SELECT pg_database_size ('DBNAME');
Linux Platform
Lists the files on the system and their sizes.
ls <Instance data directory>
Get the database size using PostgreSQL query.
SELECT pg_database_size ('DBNAME');