I need a backup script written that meets the following requirements:
- Backs data up to a NAS share located within the data center.
- Backs up the entire web site 7 days per week. Placing each backup in a specific folder. (i.e. Monday's backup in a folder called Monday, Tuesday's backup in a folder called Tuesday, etc.)
- Backs up the mysql database every hour. Placing each backup in a specific folder. (i.e. Backup at 1:00 AM in a folder called 0100, 2:00 AM backup in a folder called 0200, 4:00 PM backup in a folder called 1600, etc.)
- Email confirmation of successful/unsuccessful backups.
This will give me a week's worth of backups for my web site and one day of hourly backups for my database.
I am open to suggestions on how best to meet the main requirements of daily backups of the web site and hourly backups of the database.
Thanks!