how to make a backup?

Re: how to make a backup?

by Eloy Lafuente (stronk7) -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Harald,

the "xml error- invalid token" error usually is due to some "not-allowed" char in the xml file moodle.xml (some control character pasted or something similar).

To solve it you should:
  • Unzip your zip backup file.
  • Edit moodle.xml (don't use the Notepad!).
  • Goto the line showed in the error message.
  • Search for any wrong character and "destroy it". wink
  • Save changes.
  • Zip everything.
  • Try it again.


Hope it helps, ciao smile