Re: Dump and Restore - Mailing list pgsql-general

From Paul Thomas
Subject Re: Dump and Restore
Date
Msg-id 20040824162956.D17786@bacon
Whole thread Raw
In response to Dump and Restore  ("Eduardo S. Fontanetti" <dufuzzy@yahoo.com.br>)
Responses Re: [ADMIN] Dump and Restore
Re: Dump and Restore
List pgsql-general
On 24/08/2004 14:40 Eduardo S. Fontanetti wrote:
> How can I do a test if my dumping is really working, I
> can't apply the dump in my database, because it will
> overwrite a lot of data. I was thinking about restore
> in another database name, but I can't, it always
> restore on the original database.
>
> Somebody have a cooking recipe about to test if my
> backup is working fine, and will help if I need
> sometime?

Are you using pg_dump or pg_dumpall? I just use pg_dump on individual
databases (pg_dumpall works on the whole cluster) and can restore that to
any database.


HTH

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for
Business             |
| Computer Consultants         |
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+

pgsql-general by date:

Previous
From: "Vidyasagara Guntaka"
Date:
Subject: Not able to build libpq for Windows using 8.0.0 beta1
Next
From: Tom Lane
Date:
Subject: Re: select ... where ='' does a seqscan [auf Viren geprueft]