If your environment consists VMware Cloud Director appliance deployments with embedded PostgreSQL databases, you can back up the VMware Cloud Director database from the primary cell. The resulting .tgz file is stored on the NFS shared transfer service storage location.
Procedure
- Log in directly or by using an SSH client to the primary cell as root.
- Back up the VMware Cloud Director appliance embedded database by running the following command.
/opt/vmware/appliance/bin/create-db-backup
Results
On the NFS shared transfer service storage, in the
vcloudapp.nfs_mount.VMware_vCloud_Director/pgdb-backup/ directory, you can see the newly created
db-backup-date_time_format.tgz file. The
.tgz file contains the database dump file, the
global.properties,
responses.properties,
certificates,
proxycertificates, and
truststore files of the primary cell.