Skip to content

pg_dump not found #1157

Answered by khorton
khorton asked this question in Q&A
Discussion options

You must be logged in to vote

The fix: add the -T flag to the command (the docs say this is needed when using cron, but it seems that it may be necessary even when running the command manually).

The command that worked:
docker-compose exec -T db pg_dump -U teslamate teslamate > /backuplocation/teslamate.bck

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by khorton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant