Re: backup postgres database - Mailing list pgsql-php

From Corrado Paparo
Subject Re: backup postgres database
Date
Msg-id 005801c1cab4$ea8e4180$270a0a0a@esi
Whole thread Raw
In response to backup postgres database  (arun kv <arun@library.iisc.ernet.in>)
Responses Re: backup postgres database
List pgsql-php
> hello sir,
>         i have a postgresql database in one system and want to transfer
> the same to another system. i am not finding a way to transfer this
> database from one system to another.if i transfer the file in
> /var/lib/pgsql/libdatabase them it gives error.how shall i transfer
> database.
>   another thing. how to take up backups of the database on the system.
> pls help me as i am new to postgresql
>   thanking you
>     Arun

You can use the pg_dump utility (to extract a PostgreSQL database into a
script file or other archive file) and the pg_restore utility (restore a
Postgres database from an archive file created by pg_dump) or the psql
interactive client.
(see the 'Examples' on PostgreSQL 7.1 Documentation, PostgreSQL Client
Applications reference)

Bye
Corrado



pgsql-php by date:

Previous
From: arun kv
Date:
Subject: backup postgres database
Next
From: "Josh Berkus"
Date:
Subject: Re: backup postgres database