This is a collection of scripts to restore a full GHTorrent MongoDB database from the dumps available
at http://ghtorrent-downloads.ewi.tudelft.nl.
To do the restore:
-
Open a MongoDB terminal and run the
createCollections.jsscript to create the necessary collections. You canblock_compressorto eithersnappyorzlibto make your databases compressed. I am using none here, as I am using compression at the filesystem level. -
Run
restore-cummulative-dumps.shto restore the cummulative dumps. Wait 3-4 days.