added some data that had been left untracked
parent
6a931b3a49
commit
142670d08a
@ -1,2 +1,6 @@
|
||||
*.sql.gzip filter=lfs diff=lfs merge=lfs -text
|
||||
*.xlsx filter=lfs diff=lfs merge=lfs -text
|
||||
containers/AACT_Reloader/2023-09-06_aactdb_with_matches.sql.gz filter=lfs diff=lfs merge=lfs -text
|
||||
other_data/USP[[:space:]]DC/usp_dc_pub_2023_release_2.0_updated_final.csv filter=lfs diff=lfs merge=lfs -text
|
||||
other_data/USP[[:space:]]MMG/MMG_v8.0_Alignment_File.csv filter=lfs diff=lfs merge=lfs -text
|
||||
other_data/VA[[:space:]]Formulary/PharmacyProductSystem_NationalDrugCodeExtract.csv filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
RESTORE_DUMP_GZ=2023-09-06_aactdb_with_matches.sql.gz
|
||||
POSTGRES_USER=root
|
||||
POSTGRES_PASSWORD=root
|
||||
|
||||
#start container
|
||||
podman run \
|
||||
-e POSTGRES_PASSWORD="${POSTGRES_PASSWORD}" \
|
||||
-e POSTGRES_USER="${POSTGRES_USER}" \
|
||||
-e POSTGRES_DB=aact_db \
|
||||
--name aact_db \
|
||||
--detatch \
|
||||
--shm-size=512mb \
|
||||
--volume ${RESTORE_DUMP_GZ}:/backup/${RESTORE_DUMP_GZ} \
|
||||
--ports 5432:5432\
|
||||
postgres:14-alpine
|
||||
|
||||
|
||||
|
||||
#execute within container
|
||||
podman exec aact_db \
|
||||
"gzip --keep --stdout --decompress /backup/2023-09-06_aactdb_with_matches.sql.gz | psql -U ${POSTGRES_USER}"
|
||||
Binary file not shown.
|
Binary file not shown.
|
Binary file not shown.
|
Loading…
Reference in New Issue