activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yulinyen <>
Subject how to backup KahaDB
Date Mon, 25 Jun 2012 06:04:06 GMT

I am new to activemq.

I am currently running an embedded broker with activemq 5.6. I tried to
backup the journal files and data files by stopping the java process and
copy the files under journal  and kr-store folders (assuem it is under
/opt/activemq/) to a backup folder (assume is under /opt).

In order to see if the backup really works, I remove the the jorunal and
kr-store folders under /opt/activemq and restore these folders from the
backup folder. When I restart the my java process, I keep seeing:

2012-06-25 13:39:51,548 [main] INFO - Active data files: []
2012-06-25 13:39:51,550 [main] WARN - The ReferenceStore is
not valid - recovering ...
2012-06-25 13:39:51,568 [main] INFO  org.apache.activemq.kaha.impl.KahaStore
- Kaha Store successfully deleted data directory /opt/activemq/kr-store/data
2012-06-25 13:39:51,568 [main] INFO - Journal Recovery
Started from: DataManager:(data-)
2012-06-25 13:39:51,583 [main] INFO  org.apache.activemq.kaha.impl.KahaStore
- Kaha Store using data directory /opt/activemq/kr-store/data

And then it starts to restore the data. This takes a while to finish. 

I was wondering if there is a standard way of backup the journal and data


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message