proxmox-backup/src/api2/tape
Fabian Grünbichler 707c48ad46 tape: bump catalog/snapshot archive magic
the snapshot string format is not backwards compatible since it now has
an in-line namespace prefix. it's possible to select which magic to use
at the start of the backup, since a tape backup job knows whether it
operates on non-root namespaces up-front.

the MediaCatalog itself also has a similar incompatible change, but
there
- updating existing catalogs in-place
- not knowing what the catalog will contain in the future when initially
  creating/opening it
makes bumping the magic there harder. since the tape contents are
sufficiently guarded by the other two bumps, ignoring the
backwards-incomaptible change of the on-disk catalogs seems like an okay
tradeoff.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-05-13 14:08:32 +02:00
..
backup.rs tape: bump catalog/snapshot archive magic 2022-05-13 14:08:32 +02:00
changer.rs api: tape: rust format 2022-04-06 16:31:49 +02:00
drive.rs api: tape/restore: check and create target namespace 2022-05-13 14:08:32 +02:00
media.rs tape: fix snapshot path in catalog and snapshot_archive 2022-05-13 13:52:50 +02:00
mod.rs api: tape: rust format 2022-04-06 16:31:49 +02:00
restore.rs tape: bump catalog/snapshot archive magic 2022-05-13 14:08:32 +02:00