bup is pretty smart about recovering. It only trusts that a
particular object is on the server if the object is in a git .idx
file. The .idx files are generated only after a pack has been fully
written and then indexed, and the index has been moved into place
atomically. And the bupindex file, while it does contain a list of
"this object has this sha1sum and is not marked dirty" sorts of
entries, is not considered fully trustworthy. bup will make sure the
remote server has a given sha1sum before it trusts the "not dirty"
indicator in the bupindex.
So yes, it should recover fine after a half-completed backup. At most
you'd lose about 1 pack's worth of stuff (about 1GB) that would then be
re-backed-up. Probably you won't even lose that because the bup
server will detect that the client is gone, and finalize that last
pack anyway before exiting.
> --
> You received this message because you are subscribed to the Google Groups
> "bup-list" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
bup-list+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.