SingleStore DB

information_schema.MV_BACKUP_HISTORY

This table stores information about backups that have been made.

Column

Description

BACKUP_ID

A unique identifier for the backup.

CLUSTER_NAME

Name of the cluster that carried out the backup.

CLUSTER_ID

Unique id that can identify a cluster (see show cluster id).

DATABASE_NAME

Name of the database that was backed up.

START_TIMESTAMP

Timestamp at which the backup started.

END_TIMESTAMP

Timestamp at which the backup completed.

NUM_PARTITIONS

Number of partitions for the backup.

BACKUP_PATH

Path to where the backup file was placed after backup completed.

CHECKSUM

Concatenated CRC32C checksum of all backup files.

Refer to Verifying Full Backup Files for more information.

STATUS

Status of backup - Success or Failure.

SIZE

Size of all backup files, in megabytes.

INCR_BACKUP_ID

A unique identifier for an incremental backup. If the backup is a full backup instead of an incremental backup, incr_backup_id is NULL.

TYPE

Type of backup. Possible values are FULL, INCR_INIT, INCR_DIFF, SPLIT_PARTITIONS, or an empty string. An empty string indicates that the type of backup is unknown because the backup was performed in earlier versions of SingleStore DB, when the backup type was not recorded in the MV_BACKUP_HISTORY table.

TAGS

The value of TAGS parameter when specified with BACKUP DATABASE. For example:

BACKUP DATABASE foo TO "/tmp/foo.backup" TAGS ("production", "no-prune");

Note: information_schema.MV_BACKUP_HISTORY is populated only when the BACKUP DATABASE command is run to create a database backup.