proxmox-backup/pbs-tape/Cargo.toml
Dominik Csapak 6d4b380c3d tape: write informational MAM attributes on tapes
namely:

Vendor: Proxmox
Name: Backup Server
Version: current running package version
User Label Text: the label text
Media Pool: the current media pool

write it on labeling and when writing a new media-set to a tape.

While we currently don't use this info for anything, this can help users
to identify tapes, even with different backup software.

If we need it in the future, we can e.g. make decisions based on these
fields (e.g. the version).

On format, delete them again.

Note that some VTLs don't correctly delete the attributes from the
virtual tapes.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2024-05-15 09:35:56 +02:00

39 lines
1009 B
TOML

[package]
name = "pbs-tape"
version = "0.1.0"
authors.workspace = true
edition.workspace = true
description = "LTO tape support"
[dependencies]
anyhow.workspace = true
bitflags.workspace = true
endian_trait.workspace = true
hex.workspace = true
lazy_static.workspace = true
libc.workspace = true
log.workspace = true
nix.workspace = true
openssl.workspace = true
regex.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
udev.workspace = true
proxmox-io.workspace = true
proxmox-lang.workspace=true
proxmox-sys.workspace = true
proxmox-time.workspace = true
proxmox-uuid.workspace = true
# api-macro is only used by the binaries, so maybe we should split them out
proxmox-schema = { workspace = true, features = [ "api-macro" ] }
# router::cli is only used by binaries, so maybe we should split them out
proxmox-router = { workspace = true, features = ["cli", "server"] }
pbs-api-types.workspace = true
pbs-buildcfg.workspace = true
pbs-config.workspace = true