[ADMIN] Recovey on Master / Primary Server - Mailing list pgsql-admin

From YangBy
Subject [ADMIN] Recovey on Master / Primary Server
Date
Msg-id 20170518053839.GA8870@yangby.org
Whole thread Raw
Responses Re: [ADMIN] Recovey on Master / Primary Server  (goutham goud <gouthamgoud@live.com>)
List pgsql-admin
Hello,

    Can I recovery a point in master/primary server, just step back, not
re-create the database by all archives or use a backup?

    I create a point by use `pg_create_restore_point`.

    Then I re-create the database, set `recovery_target_name` in `recovery.conf`,
and recovery the database by all archives, successfully.

    I use `pg_start_backup` to create a copy and re-create the database,
also successfully.

    But those solutions seems too complex.

    I try to recovey the data in the same database, just step back, but I
didn't find any docs about this.

    Am I missing something, or just PG can not do this?

    Thanks!

--

May joy and health be with you always!
---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -
Name   : YangBy
Email  : yby@yangby.org
Website: www.yangby.org
---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -

Attachment

pgsql-admin by date:

Previous
From: Stéphane KANSCHINE
Date:
Subject: Re: [ADMIN] Do backups on slave. Is it OK?
Next
From: goutham goud
Date:
Subject: Re: [ADMIN] Recovey on Master / Primary Server