Skip to content

Snapshots

const snap = await replica.snapshot.save('after-refund');
// Commit snap to your repo; it is stable JSON.
await replica.snapshot.restore(snap);