On Wed, Jul 27, 2016 at 1:13 PM Christophe Pettus <[email protected]> wrote:

> Hi, all,
>
> I'm trying to honor a request for the following retention strategy:
>
> -- Delete backups older than 15 days.
> -- However, preserve one backup a month indefinitely.
>
> To do #2, what's a good approach?  I suppose one could do the backup to a
> different bucket than #1, but that involves redirecting archive_command as
> well as the backup, which is messy.
>

I'd write an out-of-band deleter that has the behavior you want. Another
option would be to implement a "delete" subcommand variant that deletes
specific backups that you could script around. It's little more than a
pagination + delete, I'd commit to to WAL-E as it seems handy.

-- 
You received this message because you are subscribed to the Google Groups 
"wal-e" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to