[pbs-devel] [PATCH proxmox-backup 0/3] fix catalog dump for split pxar archives

Christian Ebner c.ebner at proxmox.com
Tue Jul 16 17:33:10 CEST 2024


This patch series fixes the catalog dump command for snapshots created
by setting the `change-detection-mode` to either `data` or `metadata`,
therefore using split pxar archive encoding without encoding the
dedicated catalog.

If no catalog file can be found in the snaphsots manifest, the fallback
behaviour is now to check if there are metadata archives present in the
manifest, and if so dump their content using the same formatting as the
regular catalog dump.

The catalog shell will be addressed in a separate patch series.

Christian Ebner (3):
  client: make helper to get remote pxar reader reusable
  client: add helper to dump catalog from metadata archive
  client: catalog: fallback to metadata archives for catalog dump

 pbs-client/src/tools/mod.rs          | 116 ++++++++++++++++++++++++++-
 proxmox-backup-client/src/catalog.rs |  39 ++++++++-
 proxmox-file-restore/src/main.rs     |  31 +------
 3 files changed, 152 insertions(+), 34 deletions(-)

-- 
2.39.2





More information about the pbs-devel mailing list