Hi Diego, While I am not offering much insight into your specific incident recovery/correction-wise, I would point you to a very simple Windows-only Neo4j Control Panel I created that works in the "use case space" of what you are doing (basic Neo4j server service interaction). It's supplied as a compiled Autohotkey script and source is provided. I "scratched this itch" as a way to quickly switch among Neo4j databases during "active learner" phase. This is not intended to be a full-featured database admin tool, just a personal-use convenience utility. You'll find it here: https://github.com/Jim-Salmons/neo4jcp
Note: This currently works only on the non-installer Windows configuration as all Neo4j server communication is done via communication with the server running as a Windows service. The self-contained installer does not create a Windows service, so I don't currently know if or how I can control it the same way as done with the current implementation. Hope this helps, --Jim-- On Wednesday, May 14, 2014 2:03:14 PM UTC-5, Diego Arbelaez wrote: > > How can i properly stop the Neo4j Windows Service cleanly? I have Neo4j(v2 > - Community) running as a windows service. What i'm trying to do is take a > back up of the data files. > > Currently i have written a batch file which will... > > > - shut down the service > - backup the data files > - restart the service > > The problem is that after restarting the service and i check the log files > the following message is logged(see below) - Although the db recovers i'm > concerned at some point it may get corrupted due to the "non clean shutdown" > > 2014-05-14 18:35:41.993+0000 INFO [o.n.k.i.n.s.StoreFactory]: > C:\NEO4J-~1.7\data\graph.db\neostore.relationshiptypestore.db.names non > clean shutdown detected > 2014-05-14 18:35:41.997+0000 INFO [o.n.k.i.n.s.StoreFactory]: > [C:\NEO4J-~1.7\data\graph.db\neostore.relationshiptypestore.db.names] > brickCount=0 brickSize=0b mappedMem=0b (storeSize=38b) > 2014-05-14 18:35:41.999+0000 INFO [o.n.k.i.n.s.StoreFactory]: > C:\NEO4J-~1.7\data\graph.db\neostore.relationshiptypestore.db non clean > shutdown detected > 2014-05-14 18:35:42.000+0000 INFO [o.n.k.i.n.s.StoreFactory]: > [C:\NEO4J-~1.7\data\graph.db\neostore.relationshiptypestore.db] > brickCount=0 brickSize=0b mappedMem=0b (storeSize=0b) > 2014-05-14 18:35:42.000+0000 INFO [o.n.k.i.n.s.StoreFactory]: > C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.strings non clean > shutdown detected > 2014-05-14 18:35:42.000+0000 INFO [o.n.k.i.n.s.StoreFactory]: > [C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.strings] > brickCount=0 brickSize=79616b mappedMem=79691776b (storeSize=128b) > 2014-05-14 18:35:42.001+0000 INFO [o.n.k.i.n.s.StoreFactory]: > C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.index.keys non clean > shutdown detected > 2014-05-14 18:35:42.001+0000 INFO [o.n.k.i.n.s.StoreFactory]: > [C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.index.keys] > brickCount=0 brickSize=0b mappedMem=0b (storeSize=38b) > 2014-05-14 18:35:42.002+0000 INFO [o.n.k.i.n.s.StoreFactory]: > C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.index non clean > shutdown detected > 2014-05-14 18:35:42.002+0000 INFO [o.n.k.i.n.s.StoreFactory]: > [C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.index] brickCount=0 > brickSize=0b mappedMem=0b (storeSize=0b) > 2014-05-14 18:35:42.003+0000 INFO [o.n.k.i.n.s.StoreFactory]: > C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.arrays non clean > shutdown detected > 2014-05-14 18:35:42.003+0000 INFO [o.n.k.i.n.s.StoreFactory]: > [C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.arrays] brickCount=0 > brickSize=90112b mappedMem=90177536b (storeSize=128b) > 2014-05-14 18:35:42.008+0000 INFO [o.n.k.i.n.s.StoreFactory]: > C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db non clean shutdown > detected > 2014-05-14 18:35:42.008+0000 INFO [o.n.k.i.n.s.StoreFactory]: > [C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db] brickCount=0 > brickSize=943697b mappedMem=94371840b (storeSize=0b) > 2014-05-14 18:35:42.010+0000 INFO [o.n.k.i.n.s.StoreFactory]: > C:\NEO4J-~1.7\data\graph.db\neostore.relationshipstore.db non clean > shutdown detected > 2014-05-14 18:35:42.010+0000 INFO [o.n.k.i.n.s.StoreFactory]: > [C:\NEO4J-~1.7\data\graph.db\neostore.relationshipstore.db] brickCount=0 > brickSize=1153416b mappedMem=115343360b (storeSize=0b) > 2014-05-14 18:35:42.011+0000 INFO [o.n.k.i.n.s.StoreFactory]: > C:\NEO4J-~1.7\data\graph.db\neostore.nodestore.db non clean shutdown > detected > 2014-05-14 18:35:42.011+0000 INFO [o.n.k.i.n.s.StoreFactory]: > [C:\NEO4J-~1.7\data\graph.db\neostore.nodestore.db] brickCount=0 > brickSize=26208b mappedMem=26214400b (storeSize=9b) > 2014-05-14 18:35:42.012+0000 INFO [o.n.k.i.n.s.StoreFactory]: > C:\NEO4J-~1.7\data\graph.db\neostore non clean shutdown detected > 2014-05-14 18:35:42.013+0000 INFO [o.n.k.i.n.s.StoreFactory]: > [C:\NEO4J-~1.7\data\graph.db\neostore] brickCount=0 brickSize=0b > mappedMem=0b (storeSize=54b) > 2014-05-14 18:35:42.028+0000 INFO [o.n.k.i.t.x.XaLogicalLog]: Non clean > shutdown detected on log > [C:\neo4j-community-1.9.7\data\graph.db\nioneo_logical.log.1]. Recovery > started ... > > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.