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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to