Sounds like site is in dire need of cleanup.
Skipped courses could be no change ... depending upon settings of auto.
OR course hasn't been used or even invisible.
And because you can't call up that log via GUI, sounds like
you are in need of some cli scripts to see what's up.
I put mine in code/admin/cli/ and they are bash shell root access only.
one called 'getbackups' shared here below
mysql -u $mddbuser -p$mddbpass -e "use $mddbname;select id,filename,filearea,timecreated,contenthash from mdl_files where filename like '%.mbz';" > backups.txt;cat backups.txt
wc -l backups.txt
I sometimes (when troubleshooting) copy the .txt files out to a web accessible directory
restricted to IP address for viewing with browser.
In your moodledata/temp/backup/ successful backups leave a 0 byte .log file.
Any failed/probleamtic backups leave a larger than 0 byte .log file.
Find the largest non-zero .log file and cat it/grep it for clues.
Any contenthash named directories not active ... ie something being written to them ... are junk. Worth checking what's in them for sometimes the fail is at the very end where the backup.mbz file has already been created and is a valid backup but system couldn't **copy** it to destination directory. (which is why I use designated directories for auto).
Think you also need to install moosh - command line only tool.
It has some commands you might be able to use in relation to issue.
Like moosh -n course-info CID#
renders in text something like:
Course ID: 2
No of contexts: 4
Context by level:
CONTEXT_MODULE (70): 4
Context by module:
page (15): 2
resource (17): 1
url (20): 1
Number of role capability overwrites: 0
Role capability overwrites by context:
Number of local role assignments: 0
Locally assigned roles by context:
Number of enrolled users: 0
Users enrolled by role:
Number of groups: 0
Group statistics:
Min number of members in a group: 0
Max number of members in a group: 0
Avg number of members in a group: 0
Course modinfo size: 10400
Number of sections: 2
Section statistics:
Sections visible: 2
Sections hidden: 0
Min number of modules in a section: 0
Max number of modules in a section: 4
Avg number of modules in a section: 2
Number of grades: 0
Number of log entries: 121
Number of files: 1
Total file size: 61953
Cache build time: 0.016153812408447
===============================================
There is a moosh command for backup ... course-backup.
https://moosh-online.com/commands/
On one troubled site couldn't run autobackups.
Instead have a series of bash shell scripts looping through course ID numbers ( grouped by small courses, medium size courses, and mega large courses) saving to mounted data drive with tons of room - breaks apart the backups where there is a better chance they will finish!
Think Alain Raap in these forums found a way to offload auto backups of his large site to another server. See if you can find Alain Raap postings in here!
Alain? You still here? Rattling your tree here to help!
'SoS', Ken