yeti icon indicating copy to clipboard operation
yeti copied to clipboard

Instance migration (mongo) issue

Open dumprop opened this issue 3 years ago • 0 comments

I need to transfer all observable objects to another Yeti instance.

I do export via Studio 3T ( mongodump based method) image

Import w/ noIndexRestore: image Result image photo_2022-08-30_20-46-48

Import w/out noIndexRestore: image 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?

dumprop avatar Aug 30 '22 20:08 dumprop