Skip to main content
Source

pub async fn drop_backup( &self, backup_name: String, datasink_name: String, ) -> Result<DropBackupResponse, KineticaError>

Deletes a database backup

Deletes one or more existing database backups and contained snapshots, accessible via the data sink specified by datasink_name.

  • backup_name - Name of the backup to be deleted. An empty string or ‘’ will delete all existing backups. Any text followed by a ‘’ will delete backups whose name starts with that text. When deleting multiple backups, delete_all_backups must be set to true.
  • datasink_name - Data sink through which the backup is accessible.
Source

pub async fn drop_backup_with_opts( &self, backup_name: String, datasink_name: String, options: DropBackupRequestOptions, ) -> Result<DropBackupResponse, KineticaError>

Deletes a database backup

Deletes one or more existing database backups and contained snapshots, accessible via the data sink specified by datasink_name.

  • backup_name - Name of the backup to be deleted. An empty string or ‘’ will delete all existing backups. Any text followed by a ‘’ will delete backups whose name starts with that text. When deleting multiple backups, delete_all_backups must be set to true.
  • datasink_name - Data sink through which the backup is accessible.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built DropBackupRequest to the /drop/backup endpoint.

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