pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Starting without WAL files
5+ messages / 3 participants
[nested] [flat]

* Starting without WAL files
@ 2002-06-04 23:22  Nathan Mueller <nmueller@cs.wisc.edu>
  0 siblings, 0 replies; 5+ messages in thread

From: Nathan Mueller @ 2002-06-04 23:22 UTC (permalink / raw)
  To: pgsql-admin

I had a hardware error on my server and lost the WAL files.  I can
restore my data, but because of the size of the database that'll take at
least 12 hours.  Is there any way to start the server without the
transaction logs?

	--Nate





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

* Starting without WAL files
@ 2002-06-04 23:34  Nathan Mueller <nmueller@cs.wisc.edu>
  0 siblings, 2 replies; 5+ messages in thread

From: Nathan Mueller @ 2002-06-04 23:34 UTC (permalink / raw)
  To: pgsql-admin

I had a hardware error on my server and lost the WAL files.  I can
restore my data, but because of the size of the database that'll take at
least 12 hours.  Is there any way to start the server without the
transaction logs?

	--Nate




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

* Re: Starting without WAL files
@ 2002-06-08 02:23  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Nathan Mueller <nmueller@cs.wisc.edu>
  1 sibling, 1 reply; 5+ messages in thread

From: Bruce Momjian @ 2002-06-08 02:23 UTC (permalink / raw)
  To: Nathan Mueller <nmueller@cs.wisc.edu>; +Cc: pgsql-admin

Nathan Mueller wrote:
> I had a hardware error on my server and lost the WAL files.  I can
> restore my data, but because of the size of the database that'll take at
> least 12 hours.  Is there any way to start the server without the
> transaction logs?

Not sure.  Does /contrib/pg_resetxlog help?  Try running it.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



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

* Re: Starting without WAL files
@ 2002-06-08 02:24  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Nathan Mueller <nmueller@cs.wisc.edu>
  1 sibling, 0 replies; 5+ messages in thread

From: Bruce Momjian @ 2002-06-08 02:24 UTC (permalink / raw)
  To: Nathan Mueller <nmueller@cs.wisc.edu>; +Cc: pgsql-admin

Nathan Mueller wrote:
> I had a hardware error on my server and lost the WAL files.  I can
> restore my data, but because of the size of the database that'll take at
> least 12 hours.  Is there any way to start the server without the
> transaction logs?

However, once you use /contrib/pg_resetxlog, you will need to dump your
data, initdb and reload, so a restore from a backup may be more reliable.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



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

* Re: Starting without WAL files
@ 2002-06-08 05:12  Nathan Mueller <nate@cs.wisc.edu>
  parent: Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Nathan Mueller @ 2002-06-08 05:12 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: pgsql-admin

> Not sure.  Does /contrib/pg_resetxlog help?  Try running it.

That would have helped quite a bit.  It's too late now, but it's
something I'll remember for next time.  Thanks.

	--Nate



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


end of thread, other threads:[~2002-06-08 05:12 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-06-04 23:22 Starting without WAL files Nathan Mueller <nmueller@cs.wisc.edu>
2002-06-04 23:34 Starting without WAL files Nathan Mueller <nmueller@cs.wisc.edu>
2002-06-08 02:23 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-06-08 05:12   ` Nathan Mueller <nate@cs.wisc.edu>
2002-06-08 02:24 ` Bruce Momjian <pgman@candle.pha.pa.us>

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