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:
2022-08-06 12:11:08 +10:00
parent 20c76609cd
commit b8babfda32

4
README
View File

@@ -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 )
# 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:
# long-running AI job (in this case #46), which is not committing joblog per file, and isnt tracking counts properly (temporary bug)