[pbs-devel] [PATCH proxmox-backup v3 0/7] tape: single snapshot restore

Dominik Csapak d.csapak at proxmox.com
Thu May 6 14:20:01 CEST 2021


v3 of the series, should be an ok and working state, nothing
obvious is missing or not working besides
* gui for multiselection (i have some ideas, but we can allow
  single snapshots for now and add multiselect later)

changes from v2:
* added schema for snapshot
* integrated with the normal restore api call and command
* added completion helper for proxmox-tape
* added small api-viewer patch to improve the '<array>' type text
* rebase on master

changes from v1:
* use parallel handler for chunk restore
* rebase on master
* add patch to return manifest from try_restore_snapshot_archive
* using of Arc<WorkerTask> like we do now in rest of the file


Dominik Csapak (7):
  api2/tape/restore: return backup manifest in
    try_restore_snapshot_archive
  api2/types: add TAPE_RESTORE_SNAPSHOT_SCHEMA
  api2/tape/restore: add optional snapshots to 'restore'
  tape/inventory: add completion helper for tape snapshots
  bin/proxmox-tape: add optional snapshots to restore command
  ui: tape: add single snapshot restore
  docs/api-viewer: improve rendering of array format

 docs/api-viewer/PBSAPI.js      |  31 +-
 src/api2/tape/restore.rs       | 702 ++++++++++++++++++++++++++++-----
 src/api2/types/mod.rs          |  11 +
 src/backup.rs                  |   1 +
 src/backup/backup_info.rs      |   9 +-
 src/bin/proxmox-tape.rs        |  13 +-
 src/tape/inventory.rs          |  36 ++
 www/tape/BackupOverview.js     |  41 ++
 www/tape/window/TapeRestore.js |  25 ++
 9 files changed, 771 insertions(+), 98 deletions(-)

-- 
2.20.1






More information about the pbs-devel mailing list