add index recovery to pb-debug

Adds possibility to recover data from an index file. Options:
 - chunks: path to the directory where the chunks are saved
 - file: the index file that should be recovered(must be either .fidx or
   didx)
 - [opt] keyfile: path to a keyfile, if the data was encrypted, a keyfile is
   needed
 - [opt] skip-crc: boolean, if true, read chunks wont be verified with their
   crc-sum, increases the restore speed by a lot

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Hannes Laimer
2021-08-30 10:53:39 +02:00
committed by Wolfgang Bumiller
parent 7c5287bb95
commit 3e593a2459
3 changed files with 125 additions and 2 deletions

View File

@ -1,2 +1,4 @@
mod inspect;
pub use inspect::*;
mod recover;
pub use recover::*;