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

Re: Problem restoring modified backup

$
0
0
by Clemente López.  

Yes, at the moment, works.
I opened the questions.xml file, and I edited it.
First, I checked that only exists one root element in the xml (question_categories). Inside question_categories there are a lot of question_category elements (each one with a different id). Each question category have several elements, but in my case, I must change the element contextid, I seach for all the contextid, checking if are unique or not. If the contextid value was repeated, I changed it for another (numeric value).
After change the xml file, I rebuilded the mbz and works.
I think if was a bigger xml, I would do some script with xpath to change it, but in my case, wasn't necessary.

Viewing all articles
Browse latest Browse all 6815

Trending Articles



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