I’m wondering if the following approach would work as a back-up strategy for Revo in cases where there are issues with upgrading (I’ve never been able to do a successful upgrade - I always end up doing clean installs and transferring stuff over) or file-system / database corruption:
1. Create a class that consists of 8-9 properties each of which is an array of objects that correspond to the elements and resource types in modx.
2. Loop through every resource, weblink, static resource, snippet, chunk, etc. and assign these objects to the corresponding property.
3. Serialize the object and then save it to a file.
4. Do a clean install, loop through the objects and for each object in the array create a new object.
-matt
God does not save those who are only imaginary sinners. Be a sinner, and let your sins be strong, but let your trust in Christ be stronger, and rejoice in Christ who is the victor over sin, death, and the world.