pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: secure deletion of archived logs
Date: Wed, 4 Dec 2019 10:30:49 +0000
Message-ID: <06d9534503de4b14a7f35a1d08dcc4c6@zuerich.ch> (raw)

with Oracle we use "backup archivelog all delete all input".
this is a kind of atomic transaction.
everything backuped for sure is deleted.

with Postgres we archive to a local host directory
we do a Networker backup of this directory afterwards and delete the archived logs
but this is not an atomic transaction
so there is a small risk that something gets deleted which is not backuped

how to you prevent this?

Is there any backup tool which can do backups analogous Oracle?

view thread (2+ messages)  latest in thread

Message-ID: <06d9534503de4b14a7f35a1d08dcc4c6@zuerich.ch>
Permalink:  ../06d9534503de4b14a7f35a1d08dcc4c6@zuerich.ch/
Also on:    postgresql.org/message-id/06d9534503de4b14a7f35a1d08dcc4c6@zuerich.ch

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: Markus.Zwettler@zuerich.ch
  Subject: Re: secure deletion of archived logs
  In-Reply-To: <06d9534503de4b14a7f35a1d08dcc4c6@zuerich.ch>
  References: <06d9534503de4b14a7f35a1d08dcc4c6@zuerich.ch>

* 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