Skip to content

Instantly share code, notes, and snippets.

View DavidEschmeyer's full-sized avatar

David Eschmeyer DavidEschmeyer

View GitHub Profile
#!/bin/bash
#Main settings
DOMAIN_DIR="/path/to/your/public_html"
BACKUP_DIR="/path/to/your/backup"
DATE=$(date +%Y-%m-%d)
# MySQL Settings
DB_HOST="localhost"
DB_USER="mysql_username"