yeti
yeti copied to clipboard
Instance migration (mongo) issue
I need to transfer all observable objects to another Yeti instance.
I do export via Studio 3T ( mongodump based method)

Import w/ noIndexRestore:
Result

Import w/out noIndexRestore:
Error during the process:
observable yeti.link: error creating indexes for yeti.link: createIndex error: Index build failed: 32c981f6-026e-46f9-b6f3-659fbc347725: Collection yeti.link ( c23ac192-4cd5-48e5-aa40-71a1b317412b ) :: caused by :: E11000 duplicate key error collection: yeti.link index: dst_1_src_1 dup key: { dst: { $ref: "observable", $id: ObjectId('61b9865591fbb09bb1262455'), cls: "Observable.Ip" }, src: { $ref: "observable", $id: ObjectId('613682a8b7b0482863839e29'), cls: "Observable.AutonomousSystem" } }
It is unclear where a duplicate may appear in the link table (only there)
Maybe someone has recommendations for stable data migration?