[Borgbackup] round robin

richard lucassen mailinglists at lucassen.org
Mon Aug 26 09:57:49 EDT 2019


On Mon, 26 Aug 2019 15:41:54 +0200
Thomas Waldmann <tw at waldmann-edv.de> wrote:

> > https://borgbackup.readthedocs.io/en/stable/quickstart.html
> > 
> > If "borg create" exits non-zero, "borg prune" is invoked anyway.
> > Suppose "borg create" exits non-zero during a longer period, let's
> > say a week or so, would "borg prune --keep-hourly 24" leave at
> > least the last 24 hour backups intact?
> 
> Yes. And in case borg create did not manage to create a new archive,
> the amount of archives did not grow, so the set of archive borg prune
> is seeing does not change, so it won't delete anything that it had not
> deleted before already.
> 
> > Or would it be better to invoke "borg prune" only after a zero exit
> > of "borg create"?
> 
> That would be somehow cautious, but maybe does not matter.

Ok thnx! It works like a charm btw :-)

-- 
richard lucassen
https://contact.xaq.nl/


More information about the Borgbackup mailing list