pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
how to load a .backup file
2+ messages / 2 participants
[nested] [flat]

* how to load a .backup file
@ 2005-07-19 16:20  Alain Rodriguez Arias <alainrod@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Alain Rodriguez Arias @ 2005-07-19 16:20 UTC (permalink / raw)
  To: pgsql-admin

Hi:
 I have database backup in .backup format. How can I import the
database into the server???
I' ve tried with psql databasename < infile but there are a lot of errors.
Thanks



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: how to load a .backup file
@ 2005-07-19 16:49  Guido Barosio <gbarosio@gmail.com>
  parent: Alain Rodriguez Arias <alainrod@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Guido Barosio @ 2005-07-19 16:49 UTC (permalink / raw)
  To: Alain Rodriguez Arias <alainrod@gmail.com>; +Cc: pgsql-admin

if you used pg_dump, you should try to restore the backup 
with pg_restore.
 You should read about:
pg_dump
pg_restore
psql
 All main postgresql utilities.
 Regards,
---guido
 
 On 7/19/05, Alain Rodriguez Arias <alainrod@gmail.com> wrote: 
> 
> Hi:
> I have database backup in .backup format. How can I import the
> database into the server???
> I' ve tried with psql databasename < infile but there are a lot of errors.
> Thanks
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
> 



-- 
"Adopting the position that you are smarter than an automatic
optimization algorithm is generally a good way to achieve less
performance, not more" - Tom Lane.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-07-19 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-07-19 16:20 how to load a .backup file Alain Rodriguez Arias <alainrod@gmail.com>
2005-07-19 16:49 ` Guido Barosio <gbarosio@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox