mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
9ec122c249
Tooling to make backup and restore of the development database easy.
6 lines
168 B
Bash
Executable File
6 lines
168 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
docker run --rm -i --network fleet_default mysql:5.7 bash -c 'gzip -kdc - | mysql -hmysql -uroot -ptoor fleet' < backup.sql.gz
|
|
|