I need some help, I am trying to make it so that I can create a cron job to take a backup of my MySQL database and then email it to a particular email. Can someone help me with the code for the cron Job. Thank you. :3083:










I need some help, I am trying to make it so that I can create a cron job to take a backup of my MySQL database and then email it to a particular email. Can someone help me with the code for the cron Job. Thank you. :3083:
It's easy ... write a small PHP file where you perform 2 actions:
1. Run mysqldump to create a backup of your database
2. Mail the backup file to you email account using mail() function.
I think Zap had something such as this.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks