Skip to main content

Constants for the fields of the /show/backup request.

Option fields

options

Constants for options.

pub const ALL: &str = “all”;

Show all backup types.

pub const BACKUP_ID: &str = “backup_id”;

ID of the snapshot to show. Leave empty to show information from the most recent snapshot in the backup.

pub const BACKUP_TYPE: &str = “backup_type”;

Show backups by type. This option is ignored if backup_id is non-empty.

pub const DIFFERENTIAL: &str = “differential”;

Show differential backups only.

pub const FALSE: &str = “false”;
pub const FULL: &str = “full”;

Show full backups only.

pub const INCREMENTAL: &str = “incremental”;

Show incremental backups only.

pub const NONE: &str = “none”;

Don’t show snapshot contents.

pub const NO_ERROR_IF_NOT_EXISTS: &str = “no_error_if_not_exists”;

Whether or not to suppress the error if the specified backup does not exist.

pub const OBJECT_FILES: &str = “object_files”;

Show backed-up object names, and for tables, sizing detail and associated files.

pub const OBJECT_NAMES: &str = “object_names”;

Show backed-up object names, and for tables, sizing detail.

pub const SHOW_CONTENTS: &str = “show_contents”;

Show the contents of the backed-up snapshots.

pub const TRUE: &str = “true”;