Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 18de79ebc1
Fetching contributors…

Cannot retrieve contributors at this time

executable file 7 lines (6 sloc) 0.253 kb
#!/bin/bash
# Given a state fips code, restore that state to the mongo DB
# this REPLACES current data, so use with caution
MONGO_DUMP_DIR="/mnt/data/mongodumps"
STATE_FIPS="${@:1:1}"
mongorestore -d census --drop ${MONGO_DUMP_DIR}/${STATE_FIPS}/census
Jump to Line
Something went wrong with that request. Please try again.