public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 0/5] allow restoring catalogs during inventory
Date: Thu, 19 May 2022 12:08:15 +0200	[thread overview]
Message-ID: <20220519100820.1829147-1-d.csapak@proxmox.com> (raw)

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 two patches are just cleanups, so they could be applied
independently.

Dominik Csapak (5):
  tape/inventory: make 'load_media_db' a method
  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

 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              |  27 +++---
 src/bin/proxmox-tape.rs               |  16 +++-
 src/tape/changer/online_status_map.rs |   4 +-
 src/tape/inventory.rs                 |  47 +++++-----
 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, 214 insertions(+), 212 deletions(-)

-- 
2.30.2





             reply	other threads:[~2022-05-19 10:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-19 10:08 Dominik Csapak [this message]
2022-05-19 10:08 ` [pbs-devel] [PATCH proxmox-backup 1/5] tape/inventory: make 'load_media_db' a method Dominik Csapak
2022-10-05 17:32   ` [pbs-devel] applied: " Thomas Lamprecht
2022-05-19 10:08 ` [pbs-devel] [PATCH proxmox-backup 2/5] tape: replace '&Path' with 'AsRef<Path>' in function parameters Dominik Csapak
2022-05-19 10:08 ` [pbs-devel] [PATCH proxmox-backup 3/5] api/tape/inventory: optionally try to restore catalogs Dominik Csapak
2022-05-19 10:08 ` [pbs-devel] [PATCH proxmox-backup 4/5] proxmox-tape: add 'catalog' option to 'proxmox-tape inventory' Dominik Csapak
2022-05-19 10:08 ` [pbs-devel] [PATCH proxmox-backup 5/5] ui: tape/ChangerStatus: adding parameter selection to inventory Dominik Csapak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220519100820.1829147-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal