Course Backup failure

Course Backup failure

by Rasul Shishehbor -
Number of replies: 0
Having problems with a Moodle 1.7.4 course. The site has followed the patch path from 1.7.1 over time. When trying to do course backups, some courses, and some modules particularily resources but also forums fail. The backup will say it completed successfully but here's what the report says in total.
Name: backup-misc101-20080423-1636.zip
  • Creating temporary structures
  • Deleting old data
  • Creating XML file
    • Writing header
    • Writing general info
    • Writing course data
      • Course info
      • Metacourse
      • Blocks
      • Sections
    • Writing users info.
    • Writing categories and questions
    • Writing scales info
    • Writing groups info
    • Writing events info
    • Writing gradebook info
    • Writing modules info
      • Assignments
      • Databases
      • Forums
      • Glossaries
      • Journals
      • Labels
      • Quizzes
      • Resources
      Warning: mkdir() [function.mkdir]: Unable to access /var/apache2/moodledata/temp/backup/1208986611/moddata/resource/ in /opt/coolstack/apache2/htdocs/lib/moodlelib.php on line 6759

Copying course files Zipping backup
Warning: getdate() [function.getdate]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /opt/coolstack/apache2/htdocs/lib/pclzip/pclzip.lib.php on line 2855


Cleaning temp data
Backup completed successfully


- I removed the extra redundant errors, they repeated multiple times as you might expect.

- I've increased the script memory size in backup.php and restore.php to 512MB (the course backups aren't that big uncompressed) and left the timeout as is (3000).

Apache 2.2.6 / PHP 5.2.4 / MySQL 5.0.48
Average of ratings: -