Re: px_resetlog Archiving doesn't work now

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'EDELPINO *EXTERN*'" <enrique_delpinowork(at)outlook(dot)es>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: px_resetlog Archiving doesn't work now
Date: 2017-06-21 13:08:02
Message-ID: A737B7A37273E048B164557ADEF4A58B53A5C93B@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

EDELPINO wrote:
> My colleagues have delete the files from the pg_xlog
> after that they did a px_resetlog and start de database and it's working
> now but when I set the archiving on in other path, this one doesn't work and
> the files from pg_xlog folder are not rotated.
>
> Can anyone help in this?

Dump the database.

Stop the cluster and take a physical file system backup.
Keep this if it turns out that the dump was not good.

Remove the cluster and create a new one with "initdb".

Restore the dump into the new cluster.

Check if all data are there and look good.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message EDELPINO 2017-06-21 13:14:54 Re: px_resetlog Archiving doesn't work now
Previous Message EDELPINO 2017-06-21 09:30:51 px_resetlog Archiving doesn't work now