SecurityRiskAdvisors / VECTR

VECTR is a tool that facilitates tracking of your red and blue team testing activities to measure detection and prevention capabilities across different attack scenarios
1.39k stars 164 forks source link

Import old DB #77

Closed fuckup1337 closed 4 years ago

fuckup1337 commented 4 years ago

Hi, i have bson and json files from an old DB. Is it possible to import it to the newest version if the old isntance is not available anymore? Thanks

SRAPSpencer commented 4 years ago

Do you know what version they were from?

The 5.5 Migration directions should tell you how to run it through our upgrade container.

fuckup1337 commented 4 years ago

Unfortunatley I dont know. I will give it a shot and let u know if that works or not. Thx

fuckup1337 commented 4 years ago

Could be possible it was a 5.5.X already

SRAPSpencer commented 4 years ago

5.5 was released in April so that should give you a good frame of reference.

If you think it's 5.5 or later data you can just put it in your vectr directory under user/mongo. For example with the default path that would be /opt/vectr/user/mongo

Note that this only works if this is the first time you start vectr. Once the first time setup is complete it no longer checks the folder.

fuckup1337 commented 4 years ago

awesome! thanks for the quick help.

carlvonderheid commented 4 years ago

Were you able to import your old database?

fuckup1337 commented 4 years ago

yup, sorry I totally forgot about the ticket. Thanks again!