Re: [GENERAL] Dump and Restore

From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: "Eduardo S (dot) Fontanetti" <dufuzzy(at)yahoo(dot)com(dot)br>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Dump and Restore
Date: 2004-08-24 15:29:56
Message-ID: 20040824162956.D17786@bacon
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-admin 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.


Paul Thomas
| Thomas Micro Systems Limited | Software Solutions for
Business |
| Computer Consultants | |

In response to


Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-08-24 15:35:38 Re: select ... where <column>='' does a seqscan [auf Viren geprueft]
Previous Message Vidyasagara Guntaka 2004-08-24 15:23:37 Not able to build libpq for Windows using 8.0.0 beta1

Browse pgsql-admin by date

  From Date Subject
Next Message Thilina Gunasekara 2004-08-24 15:38:19 Re: [GENERAL] Dump and Restore
Previous Message Antonis Antoniou 2004-08-24 14:47:03 Re: pg dump restore