I have setup a cron job from cpanel to email me daily so I know the site files have been backed up. However, it emails the entire file paths and the whole job. Snippet of the email output I receive;
tar: Removing leading `/' from member names
/home/user/public_html/
/home/user/public_html/test/
/home/user/public_html/test/index.html
I really just want it to email a simple message when done, like this; Files successfully backed up at 02:00
Current Cron Job: tar -cvpzf /home/user/backups/backup_files.tar.gz /home/user/public_html
NOTES: This cron job works just fine and does the backup. I just don't want the whole job with all the file paths emailed to me (but do want a basic notification).
For my other sites I use a PHP backup script, but this doesn't work on this site as the backup file is simply too large I think for PHP to handle. The end tar.gz file is just under 4GB.
Any guidance appreciated.