Skip to main content

BACKED_UP

Constant BACKED_UP 

Source
pub const BACKED_UP: &[&str];
Expand description

Keyspaces a backup carries, every row of each, as a raw dump.

A backup exists to bring an agent back, so the rule is inclusion: a keyspace is here unless there is a reason on EXCLUDED_FROM_BACKUP for leaving it out. Within a carried keyspace the only rows left behind are the few that belong to one deployment rather than to the agent — see is_environment_bound — and the restore re-creates those for the target.

Every name here is exported by vta_backup::ops::export_backup without a per-keyspace code path: it walks this list. every_backed_up_keyspace_ survives_a_round_trip in vta-backup writes a row into each and asserts it comes back, so a keyspace cannot be listed here and silently skipped — which is exactly what happened to ten of them while export was a set of hand-written collectors.