Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
# 1] Upload the database
cd /mnt
tar xzvf preload_data.tgz
mongorestore saved/
rm -rf saved/
# 2] Index the uploaded data
java -jar /opt/infinite-home/lib/infinit.e.mongo-indexer.jar --doc --rebuild --query '{}'
java -jar /opt/infinite-home/lib/infinit.e.mongo-indexer.jar --assoc --rebuild --query '{}'
java -jar /opt/infinite-home/lib/infinit.e.mongo-indexer.jar --entity --rebuild --query '{}'
# 3] Put the files in place (not critical, but otherwise can't view the files from the GUI and will get source errors)
mkdir -p /mnt/infinite_data/enron
cd /mnt/infinite_data/enron
tar xzvf /mnt/preload_data_enron.tgz
cd /
tar xzvf /root/InfiniteRPMsmnt/preload_data_wits.tgz