Skip to content

Instantly share code, notes, and snippets.

View PrestaShop full backup script
#!/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"