Skip to content

Commit

Permalink
dump without TTY (cron)
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Hummel committed Sep 20, 2017
1 parent db59379 commit 0f3f40a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/dump
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ set -euo pipefail
here="$(readlink -m $(dirname $0))"

cd $here/..
docker-compose exec mysql mysqldump -ukimai -pkimai kimai

service=mysql
container=$(docker-compose ps -q $service)
docker exec $container mysqldump -ukimai -pkimai kimai

0 comments on commit 0f3f40a

Please sign in to comment.