Search Postgresql Archives

Re: Accessing an old database from a new OS installation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"A. Kretschmer" <andreas.kretschmer@xxxxxxxxxxxxxx> writes:

> am  27.01.2006, um 14:21:31 +0000 mailte Matthew Henderson folgendes:
>> Okay, so if I have 7.4 installed and I have the old
>> harddisk mount under /mnt/hda can I do something
>> like 
>> 
>>   pg_dump /mnt/hda/path_to_old_database > dump.txt
>
> No, this is imposible IMHO. You need a PG-Server with this version
> (7.4), to read the data. pg_dump is only a client for the DB, it can't
> read the files.

In addition, it's considered best practice to run (in this case) the
7.4 server against the old database, and use the 8.X pg_dump to dump
it out for loading into the 8.X server.

-Doug


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux