Hi there! You have to check on your server first if JCron Sheduler works properly, and second if you are allowed to use mysqldump server utility, it would make things a lot easier!
So, first here what you would need to do:
1. create a file called cron.php and add in it this code
| Code: |
<?php
echo shell_exec("mysqldump --help"«»);
?>
|
2. upload the file on your server
3. Go in JCron cron management and add this file to the cron task, so when creating a cron choose as cron type "SSH command" and as for path try "php /home/.../path_to_cron.php/cron.php"
4. Make sure JCron runs by going in it's Configuration area and enabling it
If all works ok, we can make a simple script based on mysqldump which you could use for backup and restore!
Ovidiu