On Dec 8, 2007 12:24 PM, Leslie P. Polzer <[EMAIL PROTECTED]> wrote:

>
> How would I go about doing a live backup of an Elephant-persistent
> set of objects? I suppose just copying the Berkeley DB would result
> in inconsistencies...


I have made a basic export facility, which can dump
an elephant database to sexp format, and restore it. It can be
used to take snapshots of your database. I use it quite often to
migrate databases:

darcs get
http://common-lisp.net/project/grand-prix/darcs/gp-export

The biggest negative feature is that the whole database must fit into
memory,
but when our database becomes bigger than that I will fix it..

Also, if you use a database backend (clsql/postmodern) the database will
most often have a live backup feature built in. At least postgresql has.

/Henrik
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to