To back up the Usage Meter database:
- Log in using root to the Usage Meter appliance via SSH or console connection.
- Run these commands:
- cd /
- sudo -u postgres /opt/vmware/vpostgres/current/bin/pg_dump --format=p --file=/tmp/umbackup-plain usgmtr
This creates a file in /tmp/umbackup-plain which is a backup of the database.
Note: This works for Usage Meter 3.3, 3.4, and 3.5. In previous versions, replace the usgmtr database name with usage_meter_db.