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 onaction.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 onaction.datasink_name- Data sink through which the backup is accessible.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn alter_backup_raw( &self, request: &AlterBackupRequest, ) -> Result<AlterBackupResponse, KineticaError>
Sends a pre-built AlterBackupRequest to the /alter/backup endpoint.
Source
pub async fn alter_backup_from_url( &self, url: &str, request: &AlterBackupRequest, ) -> Result<AlterBackupResponse, KineticaError>
Sends a pre-built AlterBackupRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.