Обсуждение: How to copy a database?

Поиск
Список
Период
Сортировка

How to copy a database?

От
Alain-Serge Nagni
Дата:
Hello,
    I created a database and I would like to know how can I make a copy (on a
memory stick) of that database and transfer it on another PC. It's possible?
I have been looking for the database but I can not find it.

Thanks,
Alain-Serge

Re: How to copy a database?

От
Bruno Wolff III
Дата:
On Sun, Jun 20, 2004 at 10:15:41 +0200,
  Alain-Serge Nagni <akenaton@freesurf.ch> wrote:
> Hello,
>     I created a database and I would like to know how can I make a copy (on a
> memory stick) of that database and transfer it on another PC. It's possible?
> I have been looking for the database but I can not find it.

Use pg_dump.

Re: How to copy a database?

От
Alain-Serge Nagni
Дата:
On Sunday 20 June 2004 17:15, Bruno Wolff III wrote:
Thanks for the info.

Best regards,
Alain-Serge

> On Sun, Jun 20, 2004 at 10:15:41 +0200,
>
>   Alain-Serge Nagni <akenaton@freesurf.ch> wrote:
> > Hello,
> >     I created a database and I would like to know how can I make a copy (on
> > a memory stick) of that database and transfer it on another PC. It's
> > possible? I have been looking for the database but I can not find it.
>
> Use pg_dump.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)