Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6511

Re: Courses > Backups > Automated backup setup vs Server > Scheduled Tasks > Automated backups

$
0
0
by Séverin Terrier.  

Hi,

In fact, you've got 2 solutions :

  • you use a dedicated (separated) cron to launch automated backups (what i've done) :
    • you define a specific cron command, with PHP calling moodle/admin/cli/automated_backups.php
    • in "Courses > Backups > Automated backup setup", you select "Automated backup" to be "manual"!
    • you don't care about time specified in automated backup setup (i think)
    • it allows to log separatly automated backup execution
    • in "Site administration > Server > Scheduled tasks", you could disable "Automated backups"
  • you want to use Moodle main cron :
    • in "Courses > Backups > Automated backup setup", you select "Automated backup" to be "Enabled"!
    • you also define days/time when you want backups to be made
    • in "Site administration > Server > Scheduled tasks", "Automated backups"must be enabled! And i think often, or just after the time defined previously.
    • you won't have separate logs for backups

Visvanath : as "Courses > Backups > Automated backup setup" just allows you to define one time per day for automated backup execution to be made, if you really want to make several automated backups per day, you'll have to use my first method, with a dedicated cron ! But is it really a good idea, since it's really time/power consuming ?

Hope this helps,

Séverin


Viewing all articles
Browse latest Browse all 6511

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>