The first is pg_dump
A simpler form of pg_dump which typically using superuser or the database owner.
pg_dump vcdb > vbdb_db.bak
Backing database for VMware vPostgresql database.
localhost:~ # /opt/vmware/vpostgres/9.3/bin/pg_dump -U postgres -d VCDB -Fc -b -v -f vcdb.backup.compressed
A second method of back will be backup in form of ASCII.
/opt/vmware/vpostgres/9.3/bin/psql -U postgres -d VCDB > vcdb.bk
No comments:
Post a Comment