4 lines
192 B
Bash
4 lines
192 B
Bash
#!/bin/bash
|
|
echo "Running docker-dbackup.sh"
|
|
/usr/bin/mysqldump -u root -p"$MYSQL_ROOT_PASSWORD" "$MYSQL_DATABASE" > /docker-entrypoint-initdb.d/dbbackup.sql
|
|
echo "Finished docker-dbackup.sh"
|