No description
- Dockerfile 100%
|
|
||
|---|---|---|
| .github/workflows | ||
| atlas.psql.zst | ||
| Dockerfile | ||
| eos.psql.zst | ||
| europa.psql.zst | ||
| hades.psql.zst | ||
| harmonia.psql.zst | ||
| hermes.psql.zst | ||
| midas.psql.zst | ||
| pontus.psql.zst | ||
| README.md | ||
DB Bootstrap
Simple project for use with the AIT Cluster, forcefully restores databases to a fresh postgres server
Dumped with:
$ for i in atlas eos europa hades hermes harmonia midas pontus
pg_dump -C -c --if-exists --no-owner -d $i -h 127.0.0.1 -U goat -W > $i.psql
end
Args:
-C- Create, creates the database-c- Drop, the database before creating--if-exists- Add "if exists" into dumped SQL when truncating deleting, less client errors--no-owner- Doesn't dump database ownership info, less client errors-dDatabase Name-hDatabase Host-UDatabase User-WForce prompt for Database Password
Compressed with:
$ for i in *.psql
zstd --rm $i
end