Open blueyed opened 9 years ago
how would you expect this to be fixed? should we rewrite the exclude file?
I'm not sure. Probably some new option for bup
would be required to adjust the root prefix
for excludes? Something like the --graft
option from bup-save
, but for bup-index
?
Rewriting the excludes might be too fragile, although it might be as easy as replacing ^\^
with \^${new_prefix}
.
it would be the solution yeah, but it seems pretty hackish.
When using bup-cron's snapshot feature (
-s LVM
),bup index
gets called like this (viabup-cron -s LVM /
):The exclude list however has paths relative to / tailored to
/
and therefore don't match the mounted location (/media/bup/vg0-rootlv
).