cd /path/to/backups
mysql -u root -h 127.0.0.1 -p --default-character-set=utf8
# Switch to database USE database_name;| #!/bin/bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| # Ubuntu 20/22 dev Server | |
| # Run like (without sudo) - bash install_lamp.sh | |
| # Script should auto terminate on errors | |
| export DEBIAN_FRONTEND=noninteractive |