1 Reply Latest reply on Jul 18, 2008 3:16 PM by Elias Ross

    Storing a snapshot of TreeCache to disk?

    Mat Schaffer Newbie

      I'm using TreeCache with the bdbje cacheloader. I'd like to get a dump of the TreeCache contents so I can then move them to another location for testing purposes.

      I could use bdb's DbBackup for this, but I'd need access to the Environment, which it looks like is private based on:

      http://anonsvn.jboss.org/repos/jbosscache/core/trunk/src/main/java/org/jboss/cache/loader/bdbje/BdbjeCacheLoader.java

      So I guess I'm going to have to ask TreeCache for the backup rather than hitting BDB directly. Anyone know how to pull this off?

      We're using jboss-cache 1.4.1.SP3