Files
script/db_bash_backup-main/config.sh
dedhersel 562afc3e7b first
2026-02-04 11:53:27 +01:00

15 lines
348 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")
# Number of days to retain backup files
backup_retention_days=7