Monthly Archives: January 2016

Having problems with your migration of Parse Database to your own MongoDB?

Not very elegant but it works… You can export your data manually from Parse App > App Settings > General Export data. You’ll get the .zip export, run manually the mongodbimport command pointing to your database. But you need to adjust the json files, remove the “results” key and leave it as an array. Then execute this command in your terminal (do not connect to your db):

mongoimport -h [mongo-db] -d parse -c [class-name] -u [user] -p [password] --file [path-to-json-file] --jsonArray

Downside: User sessions can’t be exported, so user is unable to login, but works fine in early stage if you can let the user register again