public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] Automatically select a drive (if part of a changer) when loading tapes
@ 2025-01-16 11:48 Laurențiu Leahu-Vlăducu
  0 siblings, 0 replies; 2+ messages in thread
From: Laurențiu Leahu-Vlăducu @ 2025-01-16 11:48 UTC (permalink / raw)
  To: pbs-devel; +Cc: Laurențiu Leahu-Vlăducu

This patch adds the possibility to load tapes into drives automatically
by specifying a changer. This is useful for larger tape libraries.
Choosing a drive is done by using the drive that has not been used the
longest.

At the moment, this patch implements the functionality for automatic
loading both over the API and using the proxmox-backup CLI tool, as well
as in the web UI when selecting a changer. A second patch will add the
same functionality when configuring backup jobs.

Partially fixes #3351


Laurențiu Leahu-Vlăducu (1):
  Automatically select a drive (if part of a changer) when loading tapes

 Cargo.toml                        |   2 +
 pbs-api-types/src/tape/changer.rs |  14 +++-
 src/api2/tape/changer.rs          | 117 +++++++++++++++++++++++++++++-
 src/bin/proxmox-backup-api.rs     |   2 +
 src/bin/proxmox-backup-proxy.rs   |   2 +
 src/bin/proxmox-tape.rs           |  50 +++++++++++--
 src/tape/changer/mod.rs           |  19 ++++-
 src/tape/drive/virtual_tape.rs    |   8 +-
 src/tape/drive_info.rs            |  51 +++++++++++++
 src/tape/mod.rs                   |   1 +
 src/tools/mod.rs                  |   7 ++
 www/tape/ChangerStatus.js         |  16 +++-
 12 files changed, 274 insertions(+), 15 deletions(-)
 create mode 100644 src/tape/drive_info.rs

-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

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

* [pbs-devel] [PATCH proxmox-backup] Automatically select a drive (if part of a changer) when loading tapes
@ 2025-01-16 11:51 Laurențiu Leahu-Vlăducu
  0 siblings, 0 replies; 2+ messages in thread
From: Laurențiu Leahu-Vlăducu @ 2025-01-16 11:51 UTC (permalink / raw)
  To: pbs-devel; +Cc: Laurențiu Leahu-Vlăducu

This patch adds the possibility to load tapes into drives automatically
by specifying a changer. This is useful for larger tape libraries.
Choosing a drive is done by using the drive that has not been used the
longest.

At the moment, this patch implements the functionality for automatic
loading both over the API and using the proxmox-backup CLI tool, as well
as in the web UI when selecting a changer. A second patch will add the
same functionality when configuring backup jobs.

Partially fixes #3351


Laurențiu Leahu-Vlăducu (1):
  Automatically select a drive (if part of a changer) when loading tapes

 Cargo.toml                        |   2 +
 pbs-api-types/src/tape/changer.rs |  14 +++-
 src/api2/tape/changer.rs          | 117 +++++++++++++++++++++++++++++-
 src/bin/proxmox-backup-api.rs     |   2 +
 src/bin/proxmox-backup-proxy.rs   |   2 +
 src/bin/proxmox-tape.rs           |  50 +++++++++++--
 src/tape/changer/mod.rs           |  19 ++++-
 src/tape/drive/virtual_tape.rs    |   8 +-
 src/tape/drive_info.rs            |  51 +++++++++++++
 src/tape/mod.rs                   |   1 +
 src/tools/mod.rs                  |   7 ++
 www/tape/ChangerStatus.js         |  16 +++-
 12 files changed, 274 insertions(+), 15 deletions(-)
 create mode 100644 src/tape/drive_info.rs

-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

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

end of thread, other threads:[~2025-01-16 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-16 11:48 [pbs-devel] [PATCH proxmox-backup] Automatically select a drive (if part of a changer) when loading tapes Laurențiu Leahu-Vlăducu
2025-01-16 11:51 Laurențiu Leahu-Vlăducu

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