Skip to main content

Constants for the fields of the /restore/backup response.

Option fields

info

Constants for info.

pub const CLEAN_DROPPED_OBJECTS: &str = “clean_dropped_objects”;

If restore_policy is clean or clean_all, the objects the clean dropped before restoring, grouped by type, e.g. ‘table: s.a, s.b; user: u1; schema: s’. When dry_run is true, the objects it would drop. A long list ends with the number of objects left out.

pub const CLEAN_KEPT_OBJECTS: &str = “clean_kept_objects”;

If restore_policy is clean or clean_all, comma-separated list of objects in the backup that the clean kept on the target, such as the calling user, and that the restore therefore left as they were instead of restoring them, e.g. user ‘u1’, directory ‘~u1’.