all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup v3 0/5] allow restoring catalogs during inventory
@ 2022-10-19 11:13 Dominik Csapak
  2022-10-19 11:13 ` [pbs-devel] [PATCH proxmox-backup v3 1/5] tape: replace '&Path' with 'AsRef<Path>' in function parameters Dominik Csapak
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Dominik Csapak @ 2022-10-19 11:13 UTC (permalink / raw)
  To: pbs-devel

This series allows automatically restoring the catalog from tape during
inventory, by adding a new 'catalog' parameter.

This is useful after a disaster, since it allows the admin to re-import
all tapes in an automatic way.

The first patch is just a cleanup, so it could be applied independently.

changes from v2:
* convert from Option<bool> to bool for parameters with defined defaults
* add patch that adds defaults to proxmox-tape inventory call

chnages from v1:
* rebase on master

Dominik Csapak (5):
  tape: replace '&Path' with 'AsRef<Path>' in function parameters
  api/tape/inventory: optionally try to restore catalogs
  proxmox-tape: add 'catalog' option to 'proxmox-tape inventory'
  ui: tape/ChangerStatus: adding parameter selection to inventory
  proxmox-tape: inventory: add default to parameters

 src/api2/tape/backup.rs               |  11 +--
 src/api2/tape/changer.rs              |   4 +-
 src/api2/tape/drive.rs                | 121 ++++++++++++++------------
 src/api2/tape/media.rs                |  34 +++-----
 src/api2/tape/restore.rs              |  26 +++---
 src/bin/proxmox-tape.rs               |  20 +++--
 src/tape/changer/online_status_map.rs |   4 +-
 src/tape/inventory.rs                 |  31 ++++---
 src/tape/media_catalog.rs             |  52 ++++++-----
 src/tape/media_catalog_cache.rs       |  12 +--
 src/tape/media_pool.rs                |  16 ++--
 src/tape/pool_writer/mod.rs           |  16 ++--
 www/tape/ChangerStatus.js             |  66 +++++++-------
 13 files changed, 207 insertions(+), 206 deletions(-)

-- 
2.30.2





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

end of thread, other threads:[~2022-10-20 11:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 11:13 [pbs-devel] [PATCH proxmox-backup v3 0/5] allow restoring catalogs during inventory Dominik Csapak
2022-10-19 11:13 ` [pbs-devel] [PATCH proxmox-backup v3 1/5] tape: replace '&Path' with 'AsRef<Path>' in function parameters Dominik Csapak
2022-10-19 11:13 ` [pbs-devel] [PATCH proxmox-backup v3 2/5] api/tape/inventory: optionally try to restore catalogs Dominik Csapak
2022-10-19 11:13 ` [pbs-devel] [PATCH proxmox-backup v3 3/5] proxmox-tape: add 'catalog' option to 'proxmox-tape inventory' Dominik Csapak
2022-10-19 11:13 ` [pbs-devel] [PATCH proxmox-backup v3 4/5] ui: tape/ChangerStatus: adding parameter selection to inventory Dominik Csapak
2022-10-19 11:13 ` [pbs-devel] [PATCH proxmox-backup v3 5/5] proxmox-tape: inventory: add default to parameters Dominik Csapak
2022-10-20 11:24 ` [pbs-devel] applied-series: [PATCH proxmox-backup v3 0/5] allow restoring catalogs during inventory Wolfgang Bumiller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal