[pybsddb] Snapshotting / replicating bdb

Jesus Cea jcea at argo.es
Mon Jun 15 15:39:30 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jon Dyte wrote:
> Just to be clear are you saying you do the ZFS clone within a berkely db 
> transaction, or that providing the database is transactional, the ZFS clone 
> can be performed any time and the recovery procedures will guarantee the 
> consistency of the data. I think you mean the latter but I just wanted to be 
> sure.

The second one. I do the snapshoting & cloning via ZFS. Then I do a
Berkeley DB environment recovery over the clone, and now I have a
consistent cloned DB to work with, in seconds and with minimal disk usage.

When done, you delete the clone & snapshot and you are done.

All of this while the main application is in production.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSjZPBJlgi5GaxT1NAQLINwQAjSZxU1JloT+DEfwhAKKFHtTpfN9aAXb6
91Sxp405CsoYLBEsVFLUJsyDoqLPNUrX1xGyZUm81t6zbm9f6zzHIm8bsGxzPvtp
xQlYCVO9BzOsWfcgLrJmhUrrwvM2YHi5QOReovLzu+JftfcuK7TMhCndiU56AGAk
uRrMzQ6SbpU=
=N9Mh
-----END PGP SIGNATURE-----



More information about the pybsddb mailing list