Hello folks.
What do the values in the laststatus column indicate? I have values ranging from 1 to 4.
is there a way to skip the home page from the automated backup or certain courses that we know are massive?
In moodlecode/backup/util/helper/backup_cron_helper.class.php
/** Course automated backup completed successfully */
const BACKUP_STATUS_OK = 1;
/** Course automated backup errored */
const BACKUP_STATUS_ERROR = 0;
/** Course automated backup never finished */
const BACKUP_STATUS_UNFINISHED = 2;
/** Course automated backup was skipped */
const BACKUP_STATUS_SKIPPED = 3;
/** Course automated backup had warnings */
const BACKUP_STATUS_WARNING = 4;
/** Course automated backup has yet to be run */
const BACKUP_STATUS_NOTYETRUN = 5;
Am guessing entered only if running auto backups from cron job.
For other questions ... again ...
Alain Raap shared this today:
https://moodle.org/mod/forum/discuss.php?d=383815#p1546885
Shared earlier:
https://moodle.org/mod/forum/discuss.php?d=383012#p1544844
https://moodle.org/mod/forum/discuss.php?d=383012#p1544910
'spirit of sharing', Ken
Hi,
You can read this discussion where i expose my configuration and backup related settings, and also this one where i detail a way to skip (big) courses.
See also MDL-60296 to be able to define some courses to skip for automated backups, and don't hesitate to vote for it, comment, and even add some code...
HTH,
Séverin
Apologies, Séverin ... need to add your stuff to my list for the next time someone ask about issues with autobackups.
Sure wish voting would allow more than one vote ... I'd stuff the ballot box!
Anyone happen to know what the threshold would be vote wise before issue is escalated to a higher priority?
'spirit of sharing', Ken
Hi Ken,
I think tracker issue should have at least 40 or 50 votes to have good chances to be seriously considered (if nobody already provides dedicated code ready to integrate) and someone from HQ takes time to code the dedicated lines.
You can see, after authentifying to the tracker, the list of unresolved issues with most votes.
Séverin