I only tested the export and saw no version history in the generated backup file. So I have "little" interest on this project because.
If you want to try it, go to http://sourceforge.net/projects/jcr-backup, download source code: http://sourceforge.net/svn/?group_id=205993 And compile it with Ant. This creates a folder called "dist" where you can find some files. You have to edit the file jcr-backup.xml to configure your backup settings. The script which launch the tool in only for Windows, so I created a Linux version: ----- CODE ------ #!/bin/bash CP="jcr-backup-0.1a.jar:dist/log4j-1.2.8.jar" for f in $( ls lib ); do CP=$CP:lib/$f done echo $CP /usr/lib/jvm/java-6-sun/bin/java -cp $CP javax.jcr.tools.backup.BackupTool jcr-backup.xml ----- CODE ------ About the migration question, they told me "soon" :) El vie, 14-03-2008 a las 12:53 +0530, Joshna Reddy escribió: > Hi Paco > > As you have worked on JCR-Backup tool.It will be very helpful if you can > share the steps to get it working and use the tool for export and import. > > Do you have any idea when they are planning to migrate to jackrabbit 1.4. > > Thanks for the help > > > Regards > K.Joshna > > On Wed, Mar 12, 2008 at 9:13 PM, Paco Avila <[EMAIL PROTECTED]> wrote: > > > I've tested JCR-Backup and work... more or less. They are migrating to > > Jacrabbit 1.4 because actually only supports 1.3 repositories. And i'm > > not sure it exports/imports version history. > > > > El mié, 12-03-2008 a las 18:25 +0530, Joshna Reddy escribió: > > > Hi All > > > > > > I am working on Project Mirage (https://mirage.dev.java.net) which uses > > > JackRabbit as content repository. > > > > > > I wanted to backup/restore the entire content when we migrate from one > > > database to another. I have gone through some earlier > > > mail threads and found about JECARS and JCR-Backup Tools. > > > > > > I have tried out JECARS , but it hangs indefinitely after exporting > > > namespaces and nodetypes. Look's like it is hanging while exporting > > content. > > > But there is not much content stored in my repository. > > > > > > And with JCR-BackUp tool I couldn't try out because ,I couldn't find any > > > kind of help or documentation . > > > > > > Looks like both of these tools are still in development phase and not > > fully > > > feature complete. > > > > > > Can anyone suggest how we can go about , entire repository > > backup/restore > > > ,specially when DbPersistenceManager is used and all the content is > > > being stored in a database. > > > Restore should be able to import entire node structure ,create tables > > and > > > store the entire content in the new database . > > > > > > Any help would be appreciated. > > > > > > Regards > > > K.Joshna > > -- > > Paco Avila <[EMAIL PROTECTED]> > > GIT Consultors > > > >
