Backup just doesn't occur

Backup just doesn't occur

by Dr S Bhatia -
Number of replies: 2
Hi
I have moodle1.6
My cron script runs ok
i have scheduled the backups for every night in default directory.

Now the problem is whenever it runs backup, a simple error message. here is the transcript

Name:backup-tsm_home-20060902-0750.zip
  • Creating temporary structures
  • Deleting old data
  • Creating XML file
    • Writing header
    • Writing general info
    • Writing course data
    • Writing users info
    • Writing messages info
    • Writing scales info
    • Writing groups info
    • Writing events info
    • Writing gradebook info
    • Writing modules info
      • Forums
  • Copying user files
An error occurred while copying user files

The backup did not complete successfully




Consequently i am neither able to backup nor able to import.
this happens when it begins to copy files.
I have checked all things that i knew to check.
is there any CRUCIAL step i am missing?
i tried using default directory by leaving a blank field in the backup setup and then i also tried by mentioning a separate directory path and the directory was chmod 777
Can someone help?

Thanx
Average of ratings: -
In reply to Dr S Bhatia

Re: Backup just doesn't occur

by John Isner -
Are your user files very large?  Perhaps cron is timing out because of a limit placed on you by your Web host (this happened to me).  Try running cron manually and see if it completes (just point your browser at yoursite/admin/cron.php).
In reply to John Isner

Re: Backup just doesn't occur

by Dr S Bhatia -
as a matter of fact my files are of practically no siz coz they are still sample files with a line or two of text each

here is the transcript when i ran the cron manually thru the browser

Server Time: Fri, 01 Sep 2006 22:32:43 -0500


Starting activity modules
Processing module function assignment_cron ...done.
Processing module function chat_cron ...done.
Processing module function forum_cron ...<div class="notifysuccess" align="center">Success</div><br />
Processing post 2.... mailed to 1 users.
done.
Processing module function journal_cron ...done.
Processing module function workshop_cron ...done.
Finished activity modules
Starting blocks
Finished blocks
Updating languages cache
Running backups if required...
Checking backup status...OK
Getting admin info
Deleting old data
Checking courses
Skipping deleted courses
0 courses
TS Mindbend's Online psychology
Next execution: Sunday, 3 September 2006, 01:15 AM
1.Conventional Psychotherapy
Next execution: Sunday, 3 September 2006, 01:15 AM
2. e-Therapy
Next execution: Sunday, 3 September 2006, 01:15 AM
3.Common Problems & Solutions
Next execution: Sunday, 3 September 2006, 01:15 AM
4. TSM Career Guidance Package
Next execution: Sunday, 3 September 2006, 01:15 AM
5. Career Aptitude test
Next execution: Sunday, 3 September 2006, 01:15 AM
6. TSM Career Inclination Test
Next execution: Sunday, 3 September 2006, 01:15 AM
TSM-IQ test (English Language Based)
Next execution: Sunday, 3 September 2006, 01:15 AM
Backup tasks finished.
Cron script completed correctly
Execution took 1.6041 seconds