I need a backup script creating on a Linux hosting server with CPanel and Cron access.
Script needs to:
1. Backup a MySQL database to a local directory on a weekly basis
2. Backup all WWW files and compress them to a single archive on a 2 weekly basis
Script should send email confirmation as each job is completed or failed.