oxibrain_cli/cmd/
backup.rs1use std::path::{Path, PathBuf};
2
3pub async fn run_backup(
4 _dir: &Path,
5 _no_projection: bool,
6 _no_cache: bool,
7 _out: Option<PathBuf>,
8) -> anyhow::Result<()> {
9 anyhow::bail!(
15 "backup is not wired into the CLI in M0; the WAL-safe store API \
16 oxibrain_store::backup::online_backup is available but CLI \
17 integration is post-M0"
18 );
19}
20
21pub async fn run_restore(_dir: &Path, _backup: PathBuf) -> anyhow::Result<()> {
22 anyhow::bail!("restore is not implemented in M0");
23}