activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Smith <tarkast...@gmail.com>
Subject Re: KahaDB and backups
Date Wed, 01 Jun 2011 23:19:23 GMT
On 1 June 2011 19:50, Gary Tully <gary.tully@gmail.com> wrote:
> yes, a restored backup would be recoverable.
>
> In creating a backup, there may be an issue with the lock file, or
> with an inuse journal file. The lock file is not important but you
> would want the latest journal files.
>
> Linux will allow you to freeze a filesystem, I guess other os's have
> similar support.
> http://rwmj.wordpress.com/2010/06/09/freezing-filesystems/
>
> We may want to introduce a way to have activemq freeze the journal,
> block reads/writes and release open journal and index files for OS's
> that don't have freeze support.

Thanks Gary.

Based on what you said I'm not sure that fsfreeze will guarantee a
consistent journal by itself unless the journal is updated in a single
atomic write.  Is this the case?

A user-space KahaDB snapshotting tool would certainly be useful regardless.

Cheers,
Steve

Mime
View raw message