risingwave_meta::backup_restore::restore

Function restore_impl

source
async fn restore_impl(
    opts: RestoreOpts,
    meta_store: Option<SqlMetaStore>,
    backup_store: Option<MetaSnapshotStorageRef>,
) -> BackupResult<()>
Expand description

Restores a meta store. Uses meta_store and backup_store if provided. Otherwise creates them based on opts.