Oh I see, will try again. Thanks Johan.

Jerry

On Fri, Jul 31, 2009 at 2:55 AM, Johan Svensson <jo...@neotechnology.com>wrote:

> Hi Jerry,
>
> Looks like you have shutdown NeoService then try to make a backup.
> When using the online-backup component NeoService has to be running.
> For offline backups you can just copy the store directory.
>
> Regards,
> -Johan
>
> On Wed, Jul 29, 2009 at 4:01 AM, Jerry Juanico<jtjuan...@gmail.com> wrote:
> > Hi Emil
> >
> > I'm new to neo4j and some of my program works as I wanted it to be.
> > But implementing the online backup I came across to this error:
> >
> > *07 29, 09 9:36:05 AM org.neo4j.onlinebackup.NeoBackup doBackup
> > INFO: Initializing NeoBackup.
> > Exception in thread "main"
> > org.neo4j.impl.nioneo.store.StoreFailureException: Position[0] requested
> for
> > operation is high id[-1] or store is flagged as dirty[true]
> >    at
> >
> org.neo4j.impl.nioneo.store.CommonAbstractStore.acquireWindow(CommonAbstractStore.java:380)
> >    at org.neo4j.impl.nioneo.store.NeoStore.getRecord(NeoStore.java:184)
> >    at
> > org.neo4j.impl.nioneo.store.NeoStore.getCreationTime(NeoStore.java:135)
> >    at
> >
> org.neo4j.impl.nioneo.xa.NeoStoreXaDataSource.getCreationTime(NeoStoreXaDataSource.java:371)
> >    at
> >
> org.neo4j.onlinebackup.AbstractResource.getCreationTime(AbstractResource.java:41)
> >    at
> >
> org.neo4j.onlinebackup.NeoBackup$NeoBackupTask.prepare(NeoBackup.java:311)
> >    at
> org.neo4j.onlinebackup.NeoBackup.runSimpleBackup(NeoBackup.java:204)
> >    at org.neo4j.onlinebackup.NeoBackup.doBackup(NeoBackup.java:170)
> >    at
> >
> org.neo4j.examples.apoc.MassPopulateWork.performBackup(MassPopulateWork.java:163)
> >    at
> >
> org.neo4j.examples.apoc.MassPopulateWork.shutdown(MassPopulateWork.java:215)
> >    at
> > org.neo4j.examples.apoc.MassPopulateWork.main(MassPopulateWork.java:118)
> > *
> > Below is the code snippet:
> >            String location = "/var/backup/neoDB/neoDBtst";
> >            EmbeddedNeo backupNeo = new EmbeddedNeo( location );
> >            Backup backupComp = new NeoBackup( neo, backupNeo );
> >            backupComp.doBackup();
> >            backupNeo.shutdown();
> >
> > I executed that method after the shutdown command of the neo service.
> >
> > Did I miss something here? Can you share some reference on which I can
> > pattern my program.
> > Thanks.
> _______________________________________________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to