2010/7/1 Mohit Vazirani <[email protected]> > > > > > ----- Original Message ---- > From: Mattias Persson <[email protected]> > To: Neo4j user discussions <[email protected]> > Sent: Thu, July 1, 2010 6:53:48 AM > Subject: Re: [Neo4j] neo4j REST server standalone > > Hi, I'm guessing you would like to specify a configuration file for > the database, right? > > Yes. > > That can't be done at the moment, but work is put into creating an > admin interface to neo4j, initially quite tied to the rest API. I can > see if I can whip something up which makes this possible as it is > right now. > > That will be pretty useful. Also, will the admin interface allow me to > connect > through the shell in R/W mode while the REST server is running? > > By the way, memory mapping settings are auto-configured if no specific > config is given for that. It looks at how much heap you've given it > and how big your graph store files are (this is done at startup time, > so if the store changes a lot then a restart would be required to have > it optimally configured for the new store size). > > Interesting. Also, I'm trying to perform online backups with this rest > server. > Are logical logs enabled by default when using the REST server? I cannot > find > any files matching the pattern *log.v*, all I see is the file > nioneo_logical.log.1And if so, is there a way to perform online backups > while > the REST server is running? > > I've done some modifications and the REST server now looks in the database directory for a neo4j.properties file and uses it for configuration if it exists. There you can set "keep_logical_logs=true" to make neo4j keep its logical (.v??) logs for online backup. However, to perform online backup there should probably be a configuration parameter in wrapper.conf which enables that I'd guess. Are you planning to do online backup to another running database or to another disk?
The shell is now also startable via a configuration parameter, so if you supply a "enable_remote_shell=true" parameter in that neo4j.properties file it will be started. Of course, you'd have to download the latest REST standalone server for all this to be working. -- Mattias Persson, [[email protected]] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

