Update by natay on Mon Jul 15 10:05:47 EDT 2019 from H7-D25RF0PLGQ18
@@ -16,7 +16,7 @@ TRANSFER_SETTINGS_MODULE=biostar.transfer.settings
# The database dump from old biostar (postgres sql dump).
# rsync -avz www@biostars.org:~/data/biostar-database-2.3.0-hourly-00.sql.gz export/sql/
-DATABASE_SQL=export/sql/biostar-database-2.3.0-2019-04-01.sql.gz
+DATABASE_SQL=export/sql/biostar-database-2.3.0-hourly-00.sql.gz
# The database the old dump is loaded from.
TRANSFER_DATABASE=transfer.db
@@ -31,7 +31,7 @@ LIMIT=1000
#createdb ${TRANSFER_DATABASE}
# Load the data into the old biostar.
-cat ${DATABASE_SQL} | gunzip -c | psql -d ${TRANSFER_DATABASE}
+#cat ${DATABASE_SQL} | gunzip -c | psql -d ${TRANSFER_DATABASE}
# Transfer the data
python manage.py transfer --limit $LIMIT --settings ${TRANSFER_SETTINGS_MODULE}
