On Dec 8, 2007 12:24 PM, Leslie P. Polzer <<a href="mailto:leslie.polzer@gmx.net">leslie.polzer@gmx.net</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>How would I go about doing a live backup of an Elephant-persistent<br>set of objects? I suppose just copying the Berkeley DB would result<br>in inconsistencies...</blockquote><div><br>I have made a basic export facility, which can dump
<br>an elephant database to sexp format, and restore it. It can be <br>used to take snapshots of your database. I use it quite often to <br>migrate databases:<br><br>darcs get <br>
<a href="http://common-lisp.net/project/grand-prix/darcs/gp-export" target="_blank">http://common-lisp.net/project/grand-prix/darcs/<span class="nfakPe">gp</span>-<span class="nfakPe">export</span></a><br>
<br>The biggest negative feature is that the whole database must fit into memory,<br>but when our database becomes bigger than that I will fix it..<br><br>Also, if you use a database backend (clsql/postmodern) the database will
<br>most often have a live backup feature built in. At least postgresql has.<br><br>/Henrik</div></div>