public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH v7 proxmox-backup 0/3] add proxmox-backup-debug binary
@ 2021-08-30  8:53 Hannes Laimer
  2021-08-30  8:53 ` [pbs-devel] [PATCH v7 proxmox-backup 1/3] add chunk inspection to pb-debug Hannes Laimer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Hannes Laimer @ 2021-08-30  8:53 UTC (permalink / raw)
  To: pbs-devel

Adds a new proxmox-backup-debug binary for recovery or inspection of
index, blob and chunk files

v7:
  - handle 'text' output-format properly
  - describe inspect file a little more

v6(based on Wolfgang Bumiller <w.bumiller@proxmox.com>'s feedback):
  - removed unnecessary SCHEMA references
  - added few args with arg_param
  - removed unnecessary Result wrapping
  - moved logic for checking whether decode is to stdout into
    decode_blob function
  - improved argument description

v5:
  - improved some parts based on Dominik Csapak <d.csapak@proxmox.com>
    feedback on v4
  - changes are described in the patches themself

v4:
  - rewrote parts based on Wolfgang Bumiller <w.bumiller@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         |  15 ++
 src/bin/proxmox_backup_debug/inspect.rs | 335 ++++++++++++++++++++++++
 src/bin/proxmox_backup_debug/mod.rs     |   4 +
 src/bin/proxmox_backup_debug/recover.rs | 119 +++++++++
 src/tools/mod.rs                        |  13 +
 6 files changed, 488 insertions(+), 1 deletion(-)
 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.30.2





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-31 11:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30  8:53 [pbs-devel] [PATCH v7 proxmox-backup 0/3] add proxmox-backup-debug binary Hannes Laimer
2021-08-30  8:53 ` [pbs-devel] [PATCH v7 proxmox-backup 1/3] add chunk inspection to pb-debug Hannes Laimer
2021-08-30  8:53 ` [pbs-devel] [PATCH v7 proxmox-backup 2/3] add file " Hannes Laimer
2021-08-30  8:53 ` [pbs-devel] [PATCH v7 proxmox-backup 3/3] add index recovery " Hannes Laimer
2021-08-31 11:31 ` [pbs-devel] applied: [PATCH v7 proxmox-backup 0/3] add proxmox-backup-debug binary Wolfgang Bumiller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal