Redis for Queue Processing
Replace the default database queue driver with Redis for faster, more reliable campaign processing. Covers install, Laravel config, and queue monitoring.
A corrupted database or accidental deletion can wipe out your entire subscriber list and campaign history. Automated daily backups take minutes to set up and can save hours of recovery work.
Create /home/vbrand/scripts/backup-db.sh:
#!/bin/bash
DATE=$(date +%Y%m%d_%H%M%S)
BACKUP_DIR="/home/vbrand/backups/db"
DB_NAME="acellemail"
DB_USER="vbrand"
DB_PASS="yourpassword"
KEEP_DAYS=14
mkdir -p "\$BACKUP_DIR"
mysqldump -u"\$DB_USER" -p"\$DB_PASS" "\$DB_NAME" \
--single-transaction --quick --lock-tables=false \
| gzip > "\$BACKUP_DIR/\$DB_NAME_\$DATE.sql.gz"
# Remove backups older than KEEP_DAYS
find "\$BACKUP_DIR" -name "*.sql.gz" -mtime +\$KEEP_DAYS -delete
echo "Backup complete: \$BACKUP_DIR/\$DB_NAME_\$DATE.sql.gz"
chmod +x /home/vbrand/scripts/backup-db.sh
crontab -e
Add:
0 2 * * * /home/vbrand/scripts/backup-db.sh >> /home/vbrand/logs/backup.log 2>&1
This runs at 2:00 AM daily.
For safety, copy backups to an S3 bucket:
aws s3 sync /home/vbrand/backups/db s3://your-bucket/acellemail-backups/
gunzip < /home/vbrand/backups/db/acellemail_20260301_020000.sql.gz \
| mysql -uvbrand -p acellemail
Replace the default database queue driver with Redis for faster, more reliable campaign processing. Covers install, Laravel config, and queue monitoring.
Tune queue workers, MySQL, and PHP-FPM to handle high-volume campaign sends without degrading server stability or delivery speed.
Configure Supervisor for queue workers and cron jobs essential for AcelleMail email processing.
Replace the default database queue driver with Redis for faster, more reliable campaign processing. Covers install, Laravel config, and queue monitoring.
Tune queue workers, MySQL, and PHP-FPM to handle high-volume campaign sends without degrading server stability or delivery speed.
Configure Supervisor for queue workers and cron jobs essential for AcelleMail email processing.
AcelleMail is the self-hosted email marketing platform you control end-to-end.
View Pricing