added note on how to dump out users.sql so we dont have to add those ppl each time we rebuild the DB from scratch -- should really do this as a once a day job or something!
This commit is contained in:
4
README
4
README
@@ -91,6 +91,10 @@ To get back a 'working' but scanned set of data:
|
|||||||
|
|
||||||
( cd /srv/docker/config/ ; sudo docker-compose stop padb ; yes | sudo docker-compose rm padb ; sudo rm -rf /srv/docker/container/padb/data/ ; sudo docker-compose up -d padb )
|
( cd /srv/docker/config/ ; sudo docker-compose stop padb ; yes | sudo docker-compose rm padb ; sudo rm -rf /srv/docker/container/padb/data/ ; sudo docker-compose up -d padb )
|
||||||
|
|
||||||
|
# export just person/refimg so we don't have to recreate them by hand between refreshes of DB
|
||||||
|
sudo docker exec -it padb bash
|
||||||
|
# pg_dump --user=pa -a -t person -t refimg -t person_refimg_link > /docker-entrypoint-initdb.d/users.sql
|
||||||
|
|
||||||
|
|
||||||
HANDY SQLs/commands:
|
HANDY SQLs/commands:
|
||||||
# long-running AI job (in this case #46), which is not committing joblog per file, and isnt tracking counts properly (temporary bug)
|
# long-running AI job (in this case #46), which is not committing joblog per file, and isnt tracking counts properly (temporary bug)
|
||||||
|
|||||||
Reference in New Issue
Block a user