I am restoring data using FDM and to my surprise all the data is being generated with new references. The ref.@ref.id
values in the source documents are being solemnly ignored.
The source documents look fine, the JSON data makes sense to me.
The destination database is always clean (no documents, but collections, roles, udfs and schemas defined) before I run FDM
at source:
{ "ref":{"@ref":{"id":"283815732372832769","collection":{"@ref":{"id":"User","collection":{"@ref":{"id":"collections"}}}}}}, "ts": 1606926624910000, "fauna":1, "data": {"username":"9f834127ce86cb5a","email":"9f834127ce86cb5a@getnada.com" } }
at destination:
{
ref: Ref(Collection("User"), "283824660951339527"),
ts: 1606935139618000,
data: { username: "9f834127ce86cb5a", email: "9f834127ce86cb5a@getnada.com" }
}