Hi.
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
File("D:/mybackupfolder")));
As i see, RepositoryConfig has only create methods and if I use
RepositoryConfig.create(new File("D:/myapplication/repository.xml"), new
File("D:/myapplication/data"))
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.