Re: Would it be possible to have parallel archiving? - Mailing list pgsql-hackers

From Alexander Kukushkin
Subject Re: Would it be possible to have parallel archiving?
Date
Msg-id CAFh8B=m1hcG4xYaxAFmfLcXVi6T5xgnq=fmknkA0hvWcnZCipQ@mail.gmail.com
Whole thread Raw
In response to Would it be possible to have parallel archiving?  (hubert depesz lubaczewski <depesz@depesz.com>)
Responses Re: Would it be possible to have parallel archiving?
List pgsql-hackers
Hi,

There is the archive_status directory in pg_wal, and if there are
files with suffixes ".ready", you can archive not only the file which
was requested, but quite a few more if there are  ".ready" files
available. After that you have to rename ".ready" to ".done". Postgres
will not call archive_command for files which already marked as
".done".

I think most of the good backup tools already doing that. For example,
pgBackRest, wal-e, wal-g (just named the tools I was working with)/

Regards,
--
Alexander Kukushkin


pgsql-hackers by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Would it be possible to have parallel archiving?
Next
From: Fabien COELHO
Date:
Subject: Re: some more error location support