jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpmihai <dpmi...@yahoo.com>
Subject RepositoryCopier question
Date Wed, 17 Apr 2013 08:58:09 GMT

I want to make programmatically a backup of the repository. I read that this
is possible with RepositoryCopier.

But I do not know how to get the current RepositoryImpl to pass to :

RepositoryCopier.copy(currentRepositoryImpl, RepositoryConfig.install( new

As i see, RepositoryConfig has only create methods and if I use

RepositoryConfig.create(new File("D:/myapplication/repository.xml"), new

for currentRepositoryImpl, I get exception that the repository is locked.

What is the way of loading the current reporistory?

View this message in context: http://jackrabbit.510166.n4.nabble.com/RepositoryCopier-question-tp4658299.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message