Howto Backup PostgreSQL Databases Server With pg_dump comman
Trac back: http://www.cyberciti.biz/tips/howto-backup-postgresql-databases.html
PostgreSQL is a one of the robust,open source database server. Like MySQL database server,it provides utilities for creating a backup. Step # 1: Login as a pgsql userType the following command: Step # 2: Make a backup using pg_dumpBackup database using pg_dump command. pg_dump is a utility for backing up a PostgreSQL database. It dumps only one database at a time. General syntax: Task: dump a payroll databaseType the following command #!/bin/bash Another option is use to pg_dumpall command. As a name suggest it dumps (backs up) each database,and preserves cluster-wide data such as users and groups. You can use it as follows:
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |