Re: [GENERAL] Dump and Restore

From: Eduardo S(dot) Fontanetti <dufuzzy(at)yahoo(dot)com(dot)br>
To: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Dump and Restore
Date: 2004-08-24 16:36:18
Message-ID: 20040824163618.39059.qmail@web40710.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-admin pgsql-general

I am using pg_dump.

It means that I can't restore to a different name
database??

Eduardo S. Fontanetti

--- Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk> escreveu:
>
> 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 |
>
+------------------------------+---------------------------------------------+
>




_______________________________________________________
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade!
http://br.acesso.yahoo.com/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Christopher Browne 2004-08-24 17:04:38 Re: PostgreSQL Migration of databases 7.2 to 7.4
Previous Message Ron St-Pierre 2004-08-24 16:28:15 Re: Dump and Restore

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-08-24 16:43:44 Re: pg_stat_activity versus ps
Previous Message Silvio Matthes 2004-08-24 16:34:03 Re: select ... where <column>='' does a seqscan [auf Viren