1. Make sure RedwoodHQ is running
  2. Open command line interface and navigate to: \RedwoodHQ Install Location\vendor\MongoDB\bin
  3. Type “mongodump” and press Enter
  4. Wait until process is complete (might take some time depending on how much data you have in RedwoodHQ)
  5. Close command line interface
  6. Shut down RedwoodHQ: Start -> RedwoodHQ -> Stop RedwoodHQ
  7. Rename folder: \RedwoodHQ Install Location\data to \RedwoodHQ Install Location\data_old
  8. Create new folder: \RedwoodHQ Install Location\data
  9. Create new folder: \RedwoodHQ Install Location\data\db
  10. Rename folder: \RedwoodHQ Install Location\vendor\MongoDB to \RedwoodHQ Install Location\vendor\MongoDBv2
  11. Rename folder: \RedwoodHQ Install Location\vendor\MongoDBv3 to \RedwoodHQ Install Location\vendor\MongoDB
  12. Move folder: \RedwoodHQ Install Location\vendor\MongoDBv2\bin\dump to \RedwoodHQ Install Location\vendor\MongoDB\bin
  13. Open command line interface and navigate: \RedwoodHQ Install Location\vendor\MongoDB\bin
  14. Type “mongod —dbpath ..\..\..\data\db” and press Enter
  15. Open another command line interface and navigate: \RedwoodHQ Install Location\vendor\MongoDB\bin
  16. Type “mongorestore” and press Enter
  17. Wait until it’s done restoring
  18. Kill mongod process in cmd window (eg: Ctrl-C) and close all command line windows
  19. Delete folder: \RedwoodHQ Install Location\vendor\MongoDB\bin\dump
  20. Start RedwoodHQ: Start -> RedwoodHQ -> Start RedwoodHQ

Everything should work as is or better now. It is recommended to keep data_old folder (which now contains MongoDBv2 old db) just to make sure you can roll back to it, but if after few weeks things are working fine, then you can delete it if you want to free up some space.


Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
For customer support, please contact us here.

Post Comment