From: | kongsgar(at)stud(dot)ntnu(dot)no |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Restore/dump from "/usr/local/pgsql/data" directory |
Date: | 2010-09-24 07:24:45 |
Message-ID: | 20100924092445.a2ibgdeu68c8kws4@webmail.ntnu.no |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
To specify: I have a copy of the data in "/usr/local/pgsql/data" from
my old, but I don't have access to the old system anymore so I cannot
simply do a "pg_dumpall" from there.
I believe I could copy the content of "/usr/local/pgsql/data" into
"/usr/local/pgsql/data" on my new system. But is there an alternative?
-Håvard Wahl Kongsgård
> kongsgar(at)stud(dot)ntnu(dot)no wrote:
>> Hi,
>> I have a copy of "/usr/local/pgsql/data" from old server. Is it
>> possible to do a dump of the sql databases in this directory, so that
>> I can easily migrate them to my current system?
>
> Yes, run pg_dumpall, save it, and load it into the new system. You
> really haven't given us much information on what problem you are having.
>
> --
> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
> EnterpriseDB http://enterprisedb.com
>
> + It's impossible for everything to be true. +
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Allan Kamau | 2010-09-24 07:35:02 | Favourable index type for varbit field |
Previous Message | Tom Lane | 2010-09-24 04:01:34 | Re: Nested literal parsing rules? |