[pbs-devel] [PATCH v4 proxmox-backup 0/3] add proxmox-backup-debug binary
Hannes Laimer
h.laimer at proxmox.com
Fri Feb 19 13:09:38 CET 2021
Adds a new proxmox-backup-debug binary for recovery or inspection of
index, blob and chunk files
v4:
- rewrote parts based on Wolfgang Bumiller <w.bumiller at proxmox.com>
feedback on v3
- check filetype mostly by magic number, except when
looking for index files
v3:
- move description into commit message
v2:
- appiled suggestions + rewrote a few parts
- renamed 'restore' to 'debug'<Paste>
Hannes Laimer (3):
add chunk inspection to pb-debug
add file inspection to pb-debug
add index recovery to pb-debug
Makefile | 3 +-
src/bin/proxmox-backup-debug.rs | 34 +++
src/bin/proxmox_backup_debug/inspect.rs | 280 ++++++++++++++++++++++++
src/bin/proxmox_backup_debug/mod.rs | 4 +
src/bin/proxmox_backup_debug/recover.rs | 117 ++++++++++
src/tools.rs | 11 +-
6 files changed, 447 insertions(+), 2 deletions(-)
create mode 100644 src/bin/proxmox-backup-debug.rs
create mode 100644 src/bin/proxmox_backup_debug/inspect.rs
create mode 100644 src/bin/proxmox_backup_debug/mod.rs
create mode 100644 src/bin/proxmox_backup_debug/recover.rs
--
2.20.1
More information about the pbs-devel
mailing list