pub async fn admin_backup_begin( &self, ) -> Result<AdminBackupBeginResponse, KineticaError>
Prepares the system for a backup operation
Prepares the system for a backup by closing all open file handles after allowing current active jobs to complete. When the database is in backup mode, queries that result in a disk write operation will be blocked until backup mode has been completed by using /admin/backup/end.
pub async fn admin_backup_begin_with_opts( &self, options: AdminBackupBeginRequestOptions, ) -> Result<AdminBackupBeginResponse, KineticaError>
Prepares the system for a backup operation
Prepares the system for a backup by closing all open file handles after allowing current active jobs to complete. When the database is in backup mode, queries that result in a disk write operation will be blocked until backup mode has been completed by using /admin/backup/end.
options- The optional parameters; any left unset take the server’s defaults.
pub async fn admin_backup_begin_raw( &self, request: &AdminBackupBeginRequest, ) -> Result<AdminBackupBeginResponse, KineticaError>
Sends a pre-built AdminBackupBeginRequest to the /admin/backup/begin endpoint.
pub async fn admin_backup_begin_from_url( &self, url: &str, request: &AdminBackupBeginRequest, ) -> Result<AdminBackupBeginResponse, KineticaError>
Sends a pre-built AdminBackupBeginRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.