> Dave's suggestion is good. I have an alternative suggestion: > > Is thinking outside the Redland box possible for you? Depending on > which storage type you are using, you can easily back up the > underlying database data files without having to deal with RDF > syntaxes. > > Lauri > > On Mon, Mar 29, 2010 at 1:54 PM, Nicholas J Humfrey <[email protected]> wrote: >> Hello, >> >> What would be the best approach to serialising an entire store with >> contexts? I would like to make it easy to do full storage backup/restore. I >> was hoping to output one of TriG/TriX/N-Quads, but I can't see how that >> would be easily achieved. >> >> I suspect I would have to implement it all myself, just using the librdf >> API, but I can't even work out a way of re-using the n-triples escaping code? >>
Thanks for your suggestions. I have decided to do my own N-Quads serialisation of the storage. It is pretty easy as the hard bit is done by raptor_string_ntriples_write(). http://code.google.com/p/redstore/source/browse/trunk/src/dump.c Now I just have to write a parser... nick. _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
