pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PASCAL CROZET <pascal.crozet@qualis-consulting.com>
To: girish R G peetle <giri.anamika0@gmail.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject:  RE : PostgreSQL logical incremental backup for version 9.6 and above
Date: Wed, 6 Nov 2019 19:05:24 +0000
Message-ID: <81433983e7fb485ba294ddad7854f41d@qualis-consulting.com> (raw)
In-Reply-To: <CAKKd0665D1uOCGE+4TSSiMbQjZ6GmCatwgJ+RadNV_S3jhKLsg@mail.gmail.com>
References: <CAKKd0665D1uOCGE+4TSSiMbQjZ6GmCatwgJ+RadNV_S3jhKLsg@mail.gmail.com>

Hi,

I think you can user pgBackRest<https://pgbackrest.org/;



_________________________________

Cordialement, Pascal CROZET

DBA - [cid:image002.png@01D594DD.849024A0] <http://www.qualis-consulting.com; Qualis Consulting<http://www.qualis-consulting.com/;
• www.qualis-consulting.com<http://www.qualis-consulting.com/; • 04 78 22 74 90
• Le Bois des Côtes 1 – Bâtiment A
• 300 Route Nationale 6 – 69760 LIMONEST
_________________________________

De : girish R G peetle<mailto:giri.anamika0@gmail.com>
Envoyé le :mercredi 6 novembre 2019 18:03
À : pgsql-admin<mailto:pgsql-admin@postgresql.org>
Objet :PostgreSQL logical incremental backup for version 9.6 and above

Hi,
I've a requirement to backup incremental data from PostgreSQL database server which are hosted as 'database as a service' like 'Amazon RDS' , Azure Database etc.

Full dump can be taken using pg_dump. But is there is a way to capture incremental changes to the database ?  I read about logical replication slots which can be created for each database to capture incremental changes.
But how do we know from where we should backup the SQL statements (as we need need skip those statements already backed up by pg_dump).

I thinking of following steps.
Step 1: Create logical replication slot
Step 2: Run pg_dump ( for full load ).
Step 3: Capture the changes since last pg_dump using replication slot - How to know this information ?

Thanks in advance for any advise.

Thanks
Girish

Attachments:

F104AAF7493A4A499CBC7ADF00B83A70.png (image/png, 150B) download view image

Message-ID: <81433983e7fb485ba294ddad7854f41d@qualis-consulting.com>
Permalink:  ../81433983e7fb485ba294ddad7854f41d@qualis-consulting.com/
Also on:    postgresql.org/message-id/81433983e7fb485ba294ddad7854f41d@qualis-consulting.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pascal.crozet@qualis-consulting.com, giri.anamika0@gmail.com
  Subject: Re:  RE : PostgreSQL logical incremental backup for version 9.6 and above
  In-Reply-To: <81433983e7fb485ba294ddad7854f41d@qualis-consulting.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox