With the Neo4j 2.0.0 Community edition, is there a way to change the default database location?
Seems like every time I start the program it points back to the default location (in the user's documents directory).
I tried editing the neo4j-server.properties file and adding a line to specify the desired directory there, but this didn't seem to work:
org.neo4j.server.database.location=C:\MyGraphDatabaseDirectory
Changing the default location seems to be limitation of the community edition. What you can do is a "junction point" using the mklink command:
mklink /j C:\Users\<USER>\Documents\Neo4j\default.graphdb D:\Data\Neo4j\default.graphdb
That way you don't need to change the path of the database. The default path will point to the desired location.
When starting Neo4j 2.0 Community edition on Windows you will see a dialog UI with a data folder location that you can browse to. To change your data location, browse to a different folder and then click the start button.
Closest thing you can get to is to add a shortcut (to your app's neo4j database) in the default neo4j database folder (or in the parent folder),
I.E.:
In C:\Users\YOURUSER\Documents\Neo4j create a Windows Shortcut (browse to the folder in windows explorer, right click-> create shortcut), --> Create the shortcut to your app's neo4j db location.
Then when you open Neo4j's Window gui, you can go to browse -> click your shortcut and be directly into the folder you want.
It's far from a perfect solution, but it saves a lot of clicking!
In windows, you create a new folder and the you choose it when you want to start your server
Related
How can I dump a database in neo4j?
I have tried to follow the recommendations on the website and nothing works.
In Neo4j Desktop 1.3.11 you can click on the dot dot dot in the top right (database must be stopped first), and choose the option Dump (my test named the file movie-database-neo4j-2020-12-11T184026.dump)
Note: You will probably have to search your disk (for *.dump) to find where the files drop, on Macintosh I found them in an unexpected folder location, they were placed with the Project instead of in the database's dump folder whereI expected them to fall out.
I found my dumps over in here
I tried changing the config and created data/dumps/ folder in the database area but it still sends them to the project area. YMMV
I am editing a graph in Neo4j Brower on one computer. If I want to start a new graph in Browser, how to make sure the current one won't be destroy? Also, if I want to copy the current graph to another computer, is there a way to do that?
Just edit the path in your configuration file. Take a look right here. You can also copy the files of all your graphs (for example the default.graphdb or graph.db directory) to replicate them or to move them to another directory.
I'm trying to locate a log file created by a CSP that under IE11 is stored in DRIVE:\Users\USER\AppData\Local\Microsoft\Windows\Temporary Internet Files\Virtualized...
Where are users' temporary files created when using the Edge browser?
I don't have Windows 10 installed on this machine to look for the exact location, but it should be somewhere in this directory:
%LocalAppData%\Spartan
If they've already switched folder names to Edge, then just replace instances of Spartan as necessary. You may need to un-hide hidden folders if you haven't already changed that setting.
I have installed neo4j spatial in my Geoserver2.6 and now I am trying to see an example of a database.
I created in geoserver a workspace and then I want to add a new store. I select the neo4j store but then I don't know what to put in the field "Connection Parameters" (The directory path of the Neo4j database).
Till now I was using postgis, which you add the host name and the port.
What should I put in this field?
Any help will be mostly appreciated.
Thanks
D.
EDIT:
I found out that the directory path must have this form:
file:C:/Program Files/NEO4J_HOME/neo4j-community-1.9.9/data/graph.db/neostore.id
The path points to the neostore.id file inside the database.
The problem remains. Nothing happens when I select the save button in geoserver.
The original wiki that contained the answer to this was shut down a while back. But there is a copy at http://oss.infoscience.co.jp/neo4j/wiki.neo4j.org/content/Neo4j_Spatial_in_GeoServer.html. This is old information, but should still contain the answer you are looking for.
Hi Stackoverflow people,
LibreOffice's default storage path is located in $USER/My Documents.
It is easy to change this path in LibreOffice.
However, my employer has assigned me to reinstall 30 pc's with a linux distro. :))
All installations should include LibreOffice.
That is why I would like to run a automated post-install script which will change the default storage location in LibreOffice to a custom location on our company's document server.
e.g. "LO_STORAGE_PATH = /mnt/documents"
Reason: I think it is too time-consuming to change the storage path manually in LibreOffice on 30 pc's.
I tried searching with:
"Change storage path command LibreOffice"
"Script cli storage path LibreOffice"
"Bash change storage path LibreOffice"
Can anyone of you give me a hint?
Thanks!
Kees
If you want to change the default save directory, you must edit Paths in LibreOffice. Usually, from the main menu Tools > Options > LibreOffice > Paths, then edit the My Documents path value.
When doing that, the new value is saved in the file ~/.config/libreoffice/4/user/registrymodifications.xcu
And a new entry appears in this file like below :
<item oor:path="/org.openoffice.Office.Paths/Paths/org.openoffice.Office.Paths:NamedPath['Work']"><prop oor:name="WritePath" oor:op="fuse"><value>$(work)/mynewpath</value></prop></item>
After some tests, this entry seams to allow only value starting with $(work), the user home directory. By googlize, it may be a known bug.
With that you could be able to automate it with a sed expression.
If you search a more precise response, you can try to post your question to the dedicated forum http://ask.libreoffice.org/
Good luck