This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Set the database name and the backup file name | |
DB_NAME="database" | |
BACKUP_FILE="database_backup.sql" | |
date=date=$(date '+%Y-%m-%d') | |
# Set the username and password for the database | |
DB_USERNAME="username" | |
DB_PASSWORD="password" |