Re: Copy database to another machine

From: ScientificWare-Luigi D'Angelo <luigi(at)scientificware(dot)it>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Copy database to another machine
Date: 2011-10-26 17:34:41
Message-ID: 4EA844B1.1070205@scientificware.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Il 26/10/2011 15:38, Nuno Ferreira ha scritto:
> Good afternoon,
>
> I'm trying to copy one database from one machine to another. How can I
> do it?
> Can I just simply copy and paste the files? I need to close the
> database first or I can copy the files with it open?
>
> -
I'm a noob too, but I think I can help in this case.
I've moved from a server to another.
For me pg_dumpall (official postgre manual page 480) went fine.
Actually it copies the whole cluster at once, I had three little
databases and their users (roles) moved from a 32bit machine running
postgre 9.0 to a 64bit one running 9.1.

Hope this helps

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Thom Brown 2011-10-26 19:59:04 Re: Copy database to another machine
Previous Message jjurban 2011-10-26 17:10:13 Re: Copy database to another machine