as recommended in
MODE-2306 i've implemented a backup & restore functionality. that worked quite well but there is a problem with properties where the stored data contains newline characters.
The newlines get written to the exported JSON directly as for example CRLF. This makes the export file no longer readable for the import, it simply stopps importing when encountering such newline characters and only performs a partial (most of the time corrupted) import. It would be much appreciated if modeshape handles such special characters in a correct way during export / import (for example by escaping them).
forum discussion: https://developer.jboss.org/thread/248929