introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.
-->

Backups



Posted by: rjbathgate
September 02, 2009 11:15PM
Hey,

I'm running EasyPHP with a few SQL databases...

How do I setup a scheduled automatic backup of the SQL?

On my 'real' web servers, I do so using a cronjob running a script, similar to the below:

date=`date -I` ; mysqldump -a -u XXXXXX -pYYYYYY ZZZZZZZ | gzip > /home/WWWWWW/database_$date.sql.gz ; mutt -s "Backup ($date)" -n -a /home/WWWWWW/database_$date.sql.gz email@email.com < /dev/null

Or use a built in backup scheduler in Plesk/Control Panel.

However with easyphp/sql, I don't have access to running cronjobs, or of course a built in backup function.

Is there any simple way to automate it?

Cheers
Rob
Posted by: Amour
September 03, 2009 12:25AM
Why automate it onto a TESTS-only server ?
Posted by: rjbathgate
September 03, 2009 01:51AM
Confused sorry - what do you mean?
Posted by: Amour
September 10, 2009 12:32AM
EasyPHP was made for Tests only... so why backups ?

But, if you want do to it, cronjob is for Linux OK, and into Windows there is "Tasks Scheduler" ;)