在這裡編輯新頁面「首頁/2025-04-08」
VCSA 5.5 vpostgre Backup
- cat /etc/vmware-vpx/embedded_db.cfg
~ # /opt/vmware/vpostgres/1.0/bin/pg_dump VCDB -U vc -Fp -c > /tmp/$(date +%F)-VCDBBackup.sql
Restore
- Stop the vCenter service with the following command: service vmware-vpxd stop
PGPASSWORD=’EMB_DB_PASSWORD’ ./psql -d EMB_DB_INSTANCE -Upostgres -f VCDBBackupFile
