[Borgbackup] round robin

Thomas Waldmann tw at waldmann-edv.de
Mon Aug 26 09:41:54 EDT 2019


> 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.


-- 

GPG ID: 9F88FB52FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393


More information about the Borgbackup mailing list