hi guyz I know what im looking for is widely available when i do a google search, but all outdated and all got some sort of bug. 1) I need a simple PHP script which will backup 1 mysql database and zip it to gz and upload that backup to a local FTP location. (important i need only php script because this is for a shared server, not for a vps or dedi to run sh or other comands) 2) Important db backup should be zipped and should be stored according to time stamp. For ex : mysql_1_20120101_180102.zip.gz something like that. 3) this php script i want to configure in cron (to run 2-3 times a day) anyone has a working script like this please let me know or link me to the script. Please do not google for me because i have already tried many scripts. I never came across 1 working without flawlessly. so it would be great if you can share a script which you already using/tested and working. I need only db backup php script Thanks
i dont need a custom made script. there are many available for free its just all are out dated to the latest tech.
The best solution I know that will satisfy all your requirements - is to use such php script described for example here: http://forums.cpanel.net/f49/automatic-cpanel-backup-domain-mysql-cron-php-111213.html It works using cpanel native backups system, so you'll just need to enter ftp/cpanel/params settings into your php script and set up cron jobs. I'm using this method with all my projects under cpanel. The only difference I'd found these days - x3 skin needed to be used in settings.