Files
server-script/db_bash_backup-main/config.sh
2024-02-08 21:19:22 +01:00

12 lines
283 B
Bash

# Configuration of variables for database access
db_user=""
db_pass=""
db_host="localhost"
db_port="3306"
# Destination directory for backup files
backup_dir="db_backup"
# List of database names to back up (add any database name separated by a space)
databases=("db1" "db2" "db3")