Skip to main content
Source

pub async fn alter_backup( &self, backup_name: String, action: String, value: String, datasink_name: String, ) -> Result<AlterBackupResponse, KineticaError>

Alter a database backup

Alters an existing database backup, accessible via the data sink specified by datasink_name.

  • backup_name - Name of the backup to be altered.
  • action - Operation to be applied.
  • value - Value of the modification, depending on action.
  • datasink_name - Data sink through which the backup is accessible.
Source

pub async fn alter_backup_with_opts( &self, backup_name: String, action: String, value: String, datasink_name: String, options: AlterBackupRequestOptions, ) -> Result<AlterBackupResponse, KineticaError>

Alter a database backup

Alters an existing database backup, accessible via the data sink specified by datasink_name.

  • backup_name - Name of the backup to be altered.
  • action - Operation to be applied.
  • value - Value of the modification, depending on action.
  • 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 AlterBackupRequest to the /alter/backup endpoint.

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