From: Guido Barosio <gbarosio@gmail.com>
To: Alain Rodriguez Arias <alainrod@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: how to load a .backup file
Date: Tue, 19 Jul 2005 17:49:30 +0100
Message-ID: <f7f6b4c705071909493be62eae@mail.gmail.com> (raw)
In-Reply-To: <526cb99d05071909207df9b20d@mail.gmail.com>
References: <526cb99d05071909207df9b20d@mail.gmail.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: gbarosio@gmail.com, alainrod@gmail.com
Subject: Re: how to load a .backup file
In-Reply-To: <f7f6b4c705071909493be62eae@mail.gmail.com>
References: <526cb99d05071909207df9b20d@mail.gmail.com> <f7f6b4c705071909493be62eae@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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