proxmox-backup/src/tape/file_formats
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
..
catalog_archive.rs tape: bump catalog/snapshot archive magic 2022-05-13 14:08:32 +02:00
chunk_archive.rs tape: rust fmt 2022-04-10 17:49:03 +02:00
mod.rs tape: bump catalog/snapshot archive magic 2022-05-13 14:08:32 +02:00
multi_volume_reader.rs tape: rust fmt 2022-04-10 17:49:03 +02:00
multi_volume_writer.rs tape: rust fmt 2022-04-10 17:49:03 +02:00
snapshot_archive.rs tape: bump catalog/snapshot archive magic 2022-05-13 14:08:32 +02:00