Hi all, I have a concept question about pruning. I read the prune command details post and searched the forum, but they don’t answer my question.
Say I have a repo that has three files inside, a
, b
, and c
. I run the first backup
of my repo with the following filters file:
-b
-c
This should create a snapshot/revision #1 that contains only a
.
I then modify the filters file to
-c
and back up again. This should create a snapshot #2 that contains a
and b
, but only b
is newly uploaded.
My question is what if I now prune snapshot #1? Will both a
and b
still be intact in snapshot #2, or will a
be missing because the snapshot in which it was newly uploaded was pruned?
In a more realistic scenario, if I incrementally back up all my files by starting with a very restrictive filters file and expanding the allowed file list over revisions, by the time I finally have every file I want in a snapshot, can I safely prune all but the last revisions and keep all the files added in those pruned revisions?
Or, in another scenario, if I use the -k
option to keep no revisions older than say 30 days, will the files added in those pruned old revisions still be present in the latest revisions?