Skip to content

Commit

Permalink
restore script
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed Jul 26, 2018
1 parent 996a4f4 commit e017c53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/restore-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ echo "START restore PG databases on `date`"
SCHEMAS="smartem_raw smartem_refined smartem_calibrated sos52n1 v1"
for SCHEMA in ${SCHEMAS}
do
BACKUP_FILE=${BACKUP_DIR}/gis-smartem_${SCHEMA}.dmp
BACKUP_FILE=${BACKUP_DIR}/gis-${SCHEMA}.dmp
./restore-db.sh ${BACKUP_FILE}
done

echo "END restore PG databases op `date`"

BACKUP_FILE="${BACKUP_DIR}/influxdb_smartemission_data.tar.gz"
pushd ../services/influxdb
restore.sh ${BACKUP_FILE}
./restore.sh ${BACKUP_FILE}
popd

0 comments on commit e017c53

Please sign in to comment.