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

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

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
Options: ReplyQuote
Posted by: Amour
September 03, 2009 12:25AM
Why automate it onto a TESTS-only server ?
Options: ReplyQuote
Posted by: rjbathgate
September 03, 2009 01:51AM
Confused sorry - what do you mean?
Options: ReplyQuote
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" ;)
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.