hello Need php script for: backup site data backup all mysql databases all zip sent to email Thanks for advice.
Good luck with this. You'll need cron jobs, the php zip library and access to fwrite. It's not going to be an easy thing to do (not really hard, but a real pain in the rear). I'd also suggest not eMailing it. Using the standard php mail function can take a decent amount of server resources, especially when dealing with large eMails (and attachments). It would be better to save it and eMail a link to the most recent backup.
i dont know unix commands ( Please write simple example for backup some dirs with mysql databases, and sent on email with attachment
How can I send email attachments from the command line (use 'mail' command)? help me. ps search in google,read http://www.shelldorado.com/articles/mailattachments.html - dont understand (