There's not really a good option right now other than restoring the
data and then archiving it, and if you do that, you might need to
either be root, or use something like fakeroot in order to preserve all
the permissions if that's important (say for a whole system).
Of course, passing through the local filesystem with the local users and
groups might not preserve them exactly (e.g. if the local system has
different user/group names/ids). Depending on the requirements, the
--numeric-ids (bup restore) and --numeric-owner (tar) options might be
relevant.
I do have a branch where I started exploring a tar export command, but I
haven't gotten back to it in a while.
It's also possible to use "bup fuse" to mount the repository and then
archive that (with similar considerations), but the current fuse stack
has some limitations. For example, it can't (or couldn't) represent
pre-epoch dates, and so we clamp them to UTC 0.
After the recent discussion about python-fuse not migrating to libfuse3,
I decided to see what might be involved in just using libfuse3 directly,
and at least for a prototype, it hasn't been too difficult, so we may
at least have improved fuse support, probably after 0.34.
--
Rob Browning
rlb @
defaultvalue.org and @
debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4