Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6664

Re: Backup error within a course (courseid = 1)

$
0
0

by Adrian Perez Rodriguez.  

Hello Ken

I didn't delete the old backup files of CID1. I just moved them to another folder. I've seen yesterday that this backups contains a >1GB logstores.xml file in ./course. So the frontpage backup contains the whole mdl_standard_log data? Can that be the problem, because we didn't clean them, we keep them atm forever.

The backup contains following data (attachement - say when you need more details):

  • users.xml (1KB, is empty)
  • roles.xml (1KB, only guest)

To answer the other questions:

  • We have about 5000 users and 3300 courses.
  • The defaultfrontpageroleid is "Authenticated user on frontpage (frontpage)".
  • We show only the "Online users" block.
Info: we redirect our users on login directly to the dashboard. And we force the users to first log in before the frontpage is visible.


Overnight I enabled Developer debugging on Moodle. So that was the output of the backup process (CID1):

Logs of the backup executed on Mittwoch, 27 September 2017, 12:50

Status - Unfinished

12:50:02 - instantiating backup controller a3781f901bff7b43f59725f0d9e7656c

12:50:02 - setting controller status to 100

12:50:02 - loading controller plan

12:50:02 - setting controller status to 300

12:50:02 - applying plan defaults

12:50:02 - setting controller status to 400

12:50:02 - setting file inclusion to 1

12:50:02 - checking plan security

12:50:02 - setting controller status to 700

12:50:02 - saving controller to db

12:50:02 - calculating controller checksum 5e4f322f298fe0ad54fb8ef2ba49c8d2

12:50:02 - loading controller from db

12:50:02 - setting controller status to 700

12:50:02 - saving controller to db

12:50:02 - calculating controller checksum ea085b5783fe8368a25cb362a853887f

12:50:02 - loading controller from db

12:50:02 - setting controller status to 800

I checked the data with the hash I see that logstores.xml is 0KB. The other files that where created are identical. I think creating this XML file the backup process makes troubles.


Thanks for sharing your knowledge.

Adrian


Viewing all articles
Browse latest Browse all 6664

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>