Re: Postgresql-8.4: File System Level Backup (& recovery failure)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-novice(at)postgresql(dot)org, Ennio-Sr <nasr(dot)laili(at)tin(dot)it>
Subject: Re: Postgresql-8.4: File System Level Backup (& recovery failure)
Date: 2012-11-20 22:04:22
Message-ID: 16078.1353449062@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Ennio-Sr <nasr(dot)laili(at)tin(dot)it> writes:
> * Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> [201112, 12:30]:
>> Use pg_controldata to print out the contents of the pg_control file as
>> extracted from the backup. If it doesn't say the cluster state is "shut
>> down", then you've probably got an inconsistent filesystem backup.

> Mmh... it does say 'shut down'; as to the other items to my
> un-experienced eyes they look so similar to the result I get on a bare
> 'new' (empty) cluster just created in a different dir...

In that case, in principle restoring the backup should work. Are you
sure you copied the entire $PGDATA directory tree? If you omitted
portions like pg_xlog or pg_clog that could be problematic. What
failure messages do you get *exactly*?

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Ennio-Sr 2012-11-21 00:14:23 Re: Postgresql-8.4: File System Level Backup (& recovery failure)
Previous Message Ennio-Sr 2012-11-20 21:36:05 Re: Postgresql-8.4: File System Level Backup (& recovery failure)