Skip to main content

run_export

Function run_export 

Source
pub fn run_export(
    client: &mut RespClient,
    prefix: Option<&[u8]>,
    out_path: &Path,
) -> Result<u64>
Expand description

Run export — walk the keyspace (optionally under prefix) and write rebuild frames to out_path. Returns exported key count.