pub fn restore_backup(lmpg: &Lmpg, jsonl: &str) -> Result<(u64, u64), String>Expand description
Restore a JSONL backup into a live engine. Records upsert by __id
(preserving public identity), relationships are linked by endpoint ids,
relationship properties are written onto the new edges. Returns the number
of records and relationships materialized.
ยงErrors
Returns an error string if a line is not valid JSON or has an unknown
kind, if a record/relationship line is malformed, or if the engine
operation for a line fails.