]> git.proxmox.com Git - proxmox-backup.git/commit
api/tape/inventory: optionally try to restore catalogs
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 19 Oct 2022 11:13:32 +0000 (13:13 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 20 Oct 2022 11:22:42 +0000 (13:22 +0200)
commitc658ea6185f7d352c6163ae7be7337d6833600c6
tree5e3801a04345a18ad32fc64eaf3cbb8c7aa43db9
parent3921deb29ab4ff969b4868f06a616ceb315cbb39
api/tape/inventory: optionally try to restore catalogs

in a disaster recovery case, it is useful to not only re-invetorize
the labels + media-sets, but also to try to recover the catalogs
from the tape (to know whats on there). This adds an option to
the inventory api call that tries to do a fast catalog restore
from each tape to be inventorized.

also sets the correct default for 'read-all-labels' in the api and
converts to a bool

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/api2/tape/drive.rs