pg_dumpall (postgresql v 7.0.3)

From: Carmen Marincu <marincuc(at)eeng(dot)dcu(dot)ie>
To: pgsql-general(at)PostgreSQL(dot)org
Subject: pg_dumpall (postgresql v 7.0.3)
Date: 2001-11-21 17:42:42
Message-ID: 3BFBE792.9080608@eeng.dcu.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi -

I am trying to backup (and then restore) the database on a server.
I am using PostgreSQL v 7.0.3

To dump the data I am using :

pg_dumpall -o databasename > database.dmp

And then, when I want to restore :

psql -d databasename -f database.dmp

The thing is that, although in the database.dmp there is a sql command
like :

CREATE TABLE mytable .......

after restoring the database the table mytable is not created !

And there are more then one tables missing.

Could please someone tell me what might be causing this ?

Thank you
Carmen

Browse pgsql-general by date

  From Date Subject
Next Message Robert D. M. Smith 2001-11-21 17:54:00 first question
Previous Message Stephan Szabo 2001-11-21 16:55:13 Re: Determining which index to create