Re: Help! Upgrade to 8.4 dropped my databases
От
Alvaro Herrera
Тема
Re: Help! Upgrade to 8.4 dropped my databases
Дата
Msg-id
20090803220420.GG19615@alvh.no-ip.org
Ответ на
Help! Upgrade to 8.4 dropped my databases (Andrew Perrin)
Список
Дерево обсуждения
Help! Upgrade to 8.4 dropped my databases Andrew Perrin <clists@perrin.socsci.unc.edu>
Re: Help! Upgrade to 8.4 dropped my databases Alvaro Herrera <alvherre@commandprompt.com>
Re: Help! Upgrade to 8.4 dropped my databases Steve Crawford <scrawford@pinpointresearch.com>
Andrew Perrin wrote: > 1.) Is there a way to "reconnect" the 8.3 server, after reinstalling > it, to the raw files, so that the databases are there? I will then > do a pg_upgradecluster and be happy; or, alternatively, If you're in a hurry, just install 8.3 from source and run postmaster -D /path/to/data/files (be sure to choose a nonconflicting port). Then you can connect to it with pg_dump and get the data out and into the 8.4 installation. Oh, make sure you keep an eye out for the socket directory too ... default PG places sockets in /tmp whereas Debian places them in /var/run/postgresql. Just in case. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-admin по дате отправления