Re: [borgbackup] Pruning question
- Alex Gorbachev
- 2015-09-26 @ 02:44
On Fri, Sep 25, 2015 at 4:51 PM, Thomas Waldmann <firstname.lastname@example.org> wrote:
> On 09/24/2015 04:06 PM, Alex Gorbachev wrote:
> > Good day, seeing odd behavior with pruning:
> > borg prune -v --keep-daily=6 -p vault1 /vault/repo1
> > Keeping archive: vault1-2015-09-23-0900 Wed Sep 23
> > 23:34:55 2015
> > Keeping archive: vault1-2015-09-21-1017 Tue Sep 22
> > 00:09:54 2015
> > Keeping archive: vault1-2015-09-20-1136 Mon Sep 21
> > 04:34:15 2015
> > Pruning archive: vault1-2015-09-22-1110 Wed Sep 23
> > 01:57:36 2015
> > Since 9/22 was two days ago why are we pruning it?
> Is that archive list complete?
Yes, these are all the backups
> Did you use --prefix=vault1- ?
I think the -p vault1 is the same as --prefix, at least as per documentation
> Pruning depends on all the archive timestamps (that match the given
> prefix OR all archives if you give none).
That is what I assumed - but doing pruning on September 24 and it is
deleting an archive with the timestamp of September 23, this is what
> GPG ID: FAF7B393
> GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393