Unix Technical Forum

How can I restore from WAL log? [PG 7.3]

This is a discussion on How can I restore from WAL log? [PG 7.3] within the pgsql Admins forums, part of the PostgreSQL category; --> Hi, I am new to PostgreSQL and now want to know how can I recover from a database crash. ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:41 AM
Chan Michael
 
Posts: n/a
Default How can I restore from WAL log? [PG 7.3]

Hi,

I am new to PostgreSQL and now want to know how can I recover from a database crash.

I know pg_dump and pg_restore but with pg_dump all transactions between every pg_dump will be lost. I found WAL in the doc and seems with it I can archieve point-in-time recovery. But I don't know the exact steps of doing this.

Any input, link or tutorials will be greatly appreciated.

Thanks in advance.

Michael
_______________________________________
YM - 離線訊息
就算你沒有上網,你的朋友仍可以留下訊息給你,當你上 網時就能立即看到,任何說話都冇走失。
http://messenger.yahoo.com.hk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 06:42 AM
Bruno Wolff III
 
Posts: n/a
Default Re: How can I restore from WAL log? [PG 7.3]

On Thu, Sep 28, 2006 at 22:16:19 +0800,
Chan Michael <michael_kychan@yahoo.com.hk> wrote:
> Hi,
>
> I am new to PostgreSQL and now want to know how can I recover from a database crash.


If you are just talking about the server dying unexpectedly, you recover
by restarting it. Doing this should recover all transactions.

Note that if your hard drives a lying to you about write completion, this
might not work.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:56 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com