dtar.restore_backup(target_path=self.dst_path,
backup_indexes_paths=[
"%s/%s" % (bak_path, index_file)
- ])
+ ],
+ disaster=tarfile.TOLERANCE_RECOVER,
+ strict_validation=False)
for key, value in self.hash.items ():
f = "%s/%s" % (self.dst_path, key)
assert os.path.exists (f)
dtar.restore_backup(target_path=self.dst_path,
backup_indexes_paths=[
"%s/%s" % (bak_path, index_file)
- ])
+ ],
+ disaster=tarfile.TOLERANCE_RECOVER,
+ strict_validation=False)
for key, value in self.hash.items ():
f = "%s/%s" % (self.dst_path, key)
assert os.path.exists (f)