pub async fn capture(
log_dir: Option<&Path>,
bootstrap_server: Option<&str>,
archive: &ArchiveArgs,
) -> OperationReport<String>Expand description
Copy this node’s restore inputs into the archive.
§Errors
The report result returns BackupError::Io when the capture found nothing to take or an
artifact exceeds its restore size limit, and the archive’s or the cluster’s
own error otherwise.