Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: recover data



On 26/07/2007 15:22, Mahmood Ali wrote:

thanks for reply the Administrative -> Tools ->
Services - is unable to start. my topic is that how
can we recover data from any postgres sql without
restore backup.

Hi Mahmood,

Please send replies to the list also, so others can benefit.

Have you tried connecting from the command line, on the server box, with psql? - in order to establish whether the server is actually running.

psql -U <username> -p <port, if not 5432> <databasename>

Assuming that you can connect in this way, use pg_dump to create a text dump file of the data.

pg_dump -U <username> -p <port, if not 5432> -d <database> -f <filename>

HTH,

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
---------------------------------------------------------------



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group