fn backup_restore_runtime_context(
app_id: &str,
app_dir: Option<&str>,
build_dir: Option<&str>,
conf: Option<&str>,
state_dir: Option<&str>,
state_path: Option<&str>,
) -> Result<(ServeConfig, AppRuntime), AgentErrorKind>Expand description
Builds the same app runtime context used by native backup and restore entrypoints.