[elephant-devel] Live backup
Henrik Hjelte
henrik at evahjelte.com
Tue Dec 11 09:20:36 UTC 2007
On Dec 8, 2007 12:24 PM, Leslie P. Polzer <leslie.polzer at gmx.net> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20071211/11a4179c/attachment.html>
More information about the elephant-devel
mailing list