I'm really sorry I haven't followed up on your reply - I was so busy recently and also I just missed seeing it.
Anyway, this problem is still happening so I will give you more information now.
Firstly, to answer your question, in mdl_course there are, correctly, only 11 courses. However, in the mdl_backup_courses table, there are 19 courses in the list, which is the number mentioned in the backup error email that I receive. However, some of the records in the latter table show up with a whole lot of zeros, eg. id courseid laststarttime lastendtime laststatus nextstarttime 1 1 1099152302 1099152333 1 1099238400 2 2 0 0 0 1094223600 3 3 0 0 0 1094223600
Furthermore, I have had a closer look at my backup logs, and they are very strange! The backup steps seem to be all mixed up, sometimes phase 2 even starts first! I have attached a file containing a few lines as an example.
I am using Moodle 1.4.1+ (2004083120), and have set my zip programs to be the Linux executables /usr/bin/zip and /usr/bin/unzip.
Please, any clues about this?
Thanks in advance,
PS Could this have anything to do with using symbolic links in the course files areas?