Skip to main content
Source

pub async fn verify_backup( &self, backup_name: String, datasource_name: String, ) -> Result<VerifyBackupResponse, KineticaError>

Shows detailed information about corrupt backups

Inspects the requested database backup(s) for conformity at the remote file store accessible via the data source specified by datasource_name. By default all snapshots are inspected unless the option backup_id is used to target a specific instance.

  • backup_name - Name of the backup. An empty string or ‘’ will check all existing backups. Any text followed by a ‘’ will inspect backups whose name starts with that text.
  • datasource_name - Data source through which the backup is accessible.
Source

pub async fn verify_backup_with_opts( &self, backup_name: String, datasource_name: String, options: VerifyBackupRequestOptions, ) -> Result<VerifyBackupResponse, KineticaError>

Shows detailed information about corrupt backups

Inspects the requested database backup(s) for conformity at the remote file store accessible via the data source specified by datasource_name. By default all snapshots are inspected unless the option backup_id is used to target a specific instance.

  • backup_name - Name of the backup. An empty string or ‘’ will check all existing backups. Any text followed by a ‘’ will inspect backups whose name starts with that text.
  • datasource_name - Data source through which the backup is accessible.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built VerifyBackupRequest to the /verify/backup endpoint.

Sends a pre-built VerifyBackupRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.