-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04d94d1
commit c8bad01
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# psql-dump | ||
Script for creating daily dumps of the database | ||
|
||
Should be run from the host running the postgresql database: | ||
Should be run with docker with the following command: | ||
```zsh | ||
python dumpit.py --config configs/ASHegemony_v4_global.json | ||
docker run -e PSQL_HOST=10.0.0.1 -e PSQL_ROLE=django -v /path/to/local/dumps:/dumps internethealthreport/psql-dump configs/country_hegemony_v4.json | ||
``` | ||
|