]> git.proxmox.com Git - proxmox-backup.git/commit - Makefile
add chunk inspection to pb-debug
authorHannes Laimer <h.laimer@proxmox.com>
Mon, 30 Aug 2021 08:53:37 +0000 (10:53 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 31 Aug 2021 11:19:51 +0000 (13:19 +0200)
commit7c72ae04f16dc2b4c95ddeb1618fe1d1797a7825
tree0e5a8584ffc0648329e7795e28e500a6a33f8ba9
parent86582454e8f4cf543aaa55dd7773e869271b4166
add chunk inspection to pb-debug

Adds possibility to inspect chunks and find indexes that reference the
chunk. Options:
 - chunk: path to the chunk file
 - [opt] decode: path to a file or to stdout(-), if specified, the
   chunk will be decoded into the specified location
 - [opt] digest: needed when searching for references, if set, it will
   be used for verification when decoding
 - [opt] keyfile: path to a keyfile, needed if decode is specified and
   the data was encrypted
 - [opt] reference-filter: path in which indexes that reference the
   chunk should be searched, can be a group, snapshot or the whole
   datastore, if not specified no references will be searched
 - [default=true] use-filename-as-digest: use chunk-filename as digest,
   if no digest is specified

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Makefile
src/bin/proxmox-backup-debug.rs [new file with mode: 0644]
src/bin/proxmox_backup_debug/inspect.rs [new file with mode: 0644]
src/bin/proxmox_backup_debug/mod.rs [new file with mode: 0644]
src/tools/mod.rs