comparison scripts/import-usas.sh @ 73:d2c44193fbaa

explictly remove db's before import
author smith@nwoca.org
date Mon, 21 Mar 2016 22:17:55 +0100
parents e155908fa039
children 6f8a77d8d58d
comparison
equal deleted inserted replaced
72:6f562946db80 73:d2c44193fbaa
1 #!/bin/bash 1 #!/bin/bash
2 2
3 source "$( dirname "${BASH_SOURCE[0]}")/.functions.sh"
4
3 docker-compose stop usasapp usasdb 5 docker-compose stop usasapp usasdb
6 resetDbVolume usasdb
4 docker-compose rm -vf usasapp usasdb 7 docker-compose rm -vf usasapp usasdb
5 8
6 export IMP_IRN=${IMP_IRN} 9 export IMP_IRN=${IMP_IRN}
7 export IMP_URL=${IMP_URL-ftp://username:password@nwoca.org} 10 export IMP_URL=${IMP_URL-ftp://username:password@nwoca.org}
8 export IMP_PATH=${IMP_PATH} 11 export IMP_PATH=${IMP_PATH}