Re: Starting without WAL files

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Nathan Mueller <nmueller(at)cs(dot)wisc(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Starting without WAL files
Date: 2002-06-08 02:24:08
Message-ID: 200206080224.g582O8i20594@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Yuen Joyce 2002-06-08 03:33:22 How restore file system backups?
Previous Message Bruce Momjian 2002-06-08 02:23:14 Re: Starting without WAL files