pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Core 5 Upgrade
6+ messages / 4 participants
[nested] [flat]

* Core 5 Upgrade
@ 2006-03-25 20:46 Rick Ellis <ellis@spinics.net>
  2006-03-25 21:26 ` Re: Core 5 Upgrade Devrim GUNDUZ <devrim@commandprompt.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Rick Ellis @ 2006-03-25 20:46 UTC (permalink / raw)
  To: pgsql-admin

I forgot to dump before I upgraded to Fedora Core 5 (Postgresql
8.0.x to 8.1.x). Is there an easy way to bring up an 8.0.x server
long enough to dump the data?

--
http://yosemitephotos.net/



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Core 5 Upgrade
  2006-03-25 20:46 Core 5 Upgrade Rick Ellis <ellis@spinics.net>
@ 2006-03-25 21:26 ` Devrim GUNDUZ <devrim@commandprompt.com>
  2006-03-25 22:13   ` Re: Core 5 Upgrade Rick Ellis <ellis@spinics.net>
  2006-03-28 00:35   ` Re: Core 5 Upgrade Amadeus Zilfinski <amadeus0@cox.net>
  0 siblings, 2 replies; 6+ messages in thread

From: Devrim GUNDUZ @ 2006-03-25 21:26 UTC (permalink / raw)
  To: Rick Ellis <ellis@spinics.net>; +Cc: pgsql-admin

Hi,

On Sat, 2006-03-25 at 20:46 +0000, Rick Ellis wrote:
> I forgot to dump before I upgraded to Fedora Core 5 (Postgresql
> 8.0.x to 8.1.x). Is there an easy way to bring up an 8.0.x server
> long enough to dump the data?

Do a source 8.0 installation, and start pg_ctl with /var/lib/pgsql/data.
Dump your data, and then stop existing postmaster, and go on with the
upgrade.

Regards,
-- 
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PL/php, plPerlNG - http://www.commandprompt.com/




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Core 5 Upgrade
  2006-03-25 20:46 Core 5 Upgrade Rick Ellis <ellis@spinics.net>
  2006-03-25 21:26 ` Re: Core 5 Upgrade Devrim GUNDUZ <devrim@commandprompt.com>
@ 2006-03-25 22:13   ` Rick Ellis <ellis@spinics.net>
  1 sibling, 0 replies; 6+ messages in thread

From: Rick Ellis @ 2006-03-25 22:13 UTC (permalink / raw)
  To: pgsql-admin

In article <camel@evim.gunduz.org/">1143322011.3974.10.camel@evim.gunduz.org>,
Devrim GUNDUZ <devrim@commandprompt.com> wrote:

>Do a source 8.0 installation, and start pg_ctl with
>/var/lib/pgsql/data. Dump your data, and then stop existing
>postmaster, and go on with the upgrade.

I was afraid you'd say that :) But it worked. Thanks.

--
http://yosemitenews.info/



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Core 5 Upgrade
  2006-03-25 20:46 Core 5 Upgrade Rick Ellis <ellis@spinics.net>
  2006-03-25 21:26 ` Re: Core 5 Upgrade Devrim GUNDUZ <devrim@commandprompt.com>
@ 2006-03-28 00:35   ` Amadeus Zilfinski <amadeus0@cox.net>
  2006-03-28 01:22     ` Re: Core 5 Upgrade Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 1 reply; 6+ messages in thread

From: Amadeus Zilfinski @ 2006-03-28 00:35 UTC (permalink / raw)
  To: pgsql-admin

On Sat, 2006-03-25 at 23:26 +0200, Devrim GUNDUZ wrote:
> Hi,
> 
> On Sat, 2006-03-25 at 20:46 +0000, Rick Ellis wrote:
> > I forgot to dump before I upgraded to Fedora Core 5 (Postgresql
> > 8.0.x to 8.1.x). Is there an easy way to bring up an 8.0.x server
> > long enough to dump the data?
> 
> Do a source 8.0 installation, and start pg_ctl with /var/lib/pgsql/data.
> Dump your data, and then stop existing postmaster, and go on with the
> upgrade.
> 
> Regards,

I have a similar problem. Had FC4 and PostgresQL installed. Upgraded to
FC5, and want to use PostgresQL for a bugzilla backend. My problem is
the same as the parent poster, but rather then save my old data I want
to delete it. All of it. How would I go about doing that?

AmadeusZ.-




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Core 5 Upgrade
  2006-03-25 20:46 Core 5 Upgrade Rick Ellis <ellis@spinics.net>
  2006-03-25 21:26 ` Re: Core 5 Upgrade Devrim GUNDUZ <devrim@commandprompt.com>
  2006-03-28 00:35   ` Re: Core 5 Upgrade Amadeus Zilfinski <amadeus0@cox.net>
@ 2006-03-28 01:22     ` Tom Lane <tgl@sss.pgh.pa.us>
  2006-03-28 02:16       ` Re: Core 5 Upgrade Amadeus Zilfinski <amadeus0@cox.net>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2006-03-28 01:22 UTC (permalink / raw)
  To: Amadeus Zilfinski <amadeus0@cox.net>; +Cc: pgsql-admin

Amadeus Zilfinski <amadeus0@cox.net> writes:
> I have a similar problem. Had FC4 and PostgresQL installed. Upgraded to
> FC5, and want to use PostgresQL for a bugzilla backend. My problem is
> the same as the parent poster, but rather then save my old data I want
> to delete it. All of it. How would I go about doing that?

Just rm -rf /var/lib/pgsql/data ... then you can start the new postmaster.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Core 5 Upgrade
  2006-03-25 20:46 Core 5 Upgrade Rick Ellis <ellis@spinics.net>
  2006-03-25 21:26 ` Re: Core 5 Upgrade Devrim GUNDUZ <devrim@commandprompt.com>
  2006-03-28 00:35   ` Re: Core 5 Upgrade Amadeus Zilfinski <amadeus0@cox.net>
  2006-03-28 01:22     ` Re: Core 5 Upgrade Tom Lane <tgl@sss.pgh.pa.us>
@ 2006-03-28 02:16       ` Amadeus Zilfinski <amadeus0@cox.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Amadeus Zilfinski @ 2006-03-28 02:16 UTC (permalink / raw)
  To: pgsql-admin

On Mon, 2006-03-27 at 20:22 -0500, Tom Lane wrote:
> Amadeus Zilfinski <amadeus0@cox.net> writes:
> > I have a similar problem. Had FC4 and PostgresQL installed. Upgraded to
> > FC5, and want to use PostgresQL for a bugzilla backend. My problem is
> > the same as the parent poster, but rather then save my old data I want
> > to delete it. All of it. How would I go about doing that?
> 
> Just rm -rf /var/lib/pgsql/data ... then you can start the new postmaster.
> 
> 			regards, tom lane

Thanks. That did it. Now to get the rest of FC5 up and running...


AmadeusZ.-




^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2006-03-28 02:16 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-25 20:46 Core 5 Upgrade Rick Ellis <ellis@spinics.net>
2006-03-25 21:26 ` Devrim GUNDUZ <devrim@commandprompt.com>
2006-03-25 22:13   ` Rick Ellis <ellis@spinics.net>
2006-03-28 00:35   ` Amadeus Zilfinski <amadeus0@cox.net>
2006-03-28 01:22     ` Tom Lane <tgl@sss.pgh.pa.us>
2006-03-28 02:16       ` Amadeus Zilfinski <amadeus0@cox.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox