Skip to content

Instantly share code, notes, and snippets.

@unxmaal
unxmaal / backup.sh
Last active December 3, 2016 18:10 — forked from anonymous/backup.sh
A backup script for daily file and database backups for a single website
#!/bin/bash
### Globals
# Set the date
date=$(date +"%d-%b-%Y")
# Set default file permissions
umask 117
# Site name
# site_name="sitename.com"