For reasons unknown, the “tar path iterator” always terminates
after the last element of the first volume. In fact, it does so
even for multi volume archives if the last object in the first
volume extends into the second volume. In this case, the object
is completely extracted but extraction terminates.
# first restore must succeed
dtar.restore_backup(target_path=self.dst_path,
- backup_tar_path=backup_full)
+ backup_indexes_paths=[
+ "%s/%s" % (bak_path, index_file)
+ ])
for key, value in self.hash.items ():
f = "%s/%s" % (self.dst_path, key)
assert os.path.exists (f)