Re: PostgreSQL Stand By Database Server backup (without using pg_basebackup) - Mailing list pgsql-admin

From Albe Laurenz
Subject Re: PostgreSQL Stand By Database Server backup (without using pg_basebackup)
Date
Msg-id A737B7A37273E048B164557ADEF4A58B50F9BE1A@ntex2010i.host.magwien.gv.at
Whole thread Raw
In response to PostgreSQL Stand By Database Server backup (without using pg_basebackup)  (girish R G peetle <giri.anamika0@gmail.com>)
Responses Re: PostgreSQL Stand By Database Server backup (without using pg_basebackup)
List pgsql-admin
girish R G peetle wrote:
> We want to perform File System based backup of PostgreSQL Standby Database server.
> 
> For Primary server we perform backup of data directory after invoking  pg_start_backup, once this is
> done, execute pg_stop_backup and backup archived transaction logs.
> 
> We are not able to follow same procedure for Standby server as pg_start_backup and pg_stop_backup
> cannot be executed on stand by.
> 
> 
> I am aware that pg_basebackup utility can be used to perform backup of standby but we don't want to
> use this utility. ( As backup of data directory is handled by third party backup vendor)
> 
> In this case what is the recommended way to backup standby database server (without using
> pg_basebackup utility) ?

You can issue pg_start_backup on the primary, then take a file system backup
of the standby, then run pg_stop_backup on the primary and collect the archived logs
from the primary.

Yours,
Laurenz Albe

pgsql-admin by date:

Previous
From: girish R G peetle
Date:
Subject: PostgreSQL Stand By Database Server backup (without using pg_basebackup)
Next
From: Nima Azizzadeh
Date:
Subject: Fwd: two factor authentication for pgadmin iii