Thanks Richard, this has been very helpful! Found the path indeed now. It 
indeed seems logical to just bind to the root of this workspace indeed 
instead of creating a volume for every subdir.

Though I still need a volume to the installation directory for the 
server.xml and the web.xml right?

Stefan

Op dinsdag 2 juni 2020 16:12:58 UTC+2 schreef Richard Cyganiak:
>
> Stefan,
>
> When I say “workspace” I mean the EDG workspace, which is a directory you 
> configure during installation and it gets stored in the web.xml file. This 
> is usually a directory created for EDG. Our docs say: “Example locations 
> include /var/lib/topbraid/ontologies for Linux and C:/Users/TQ/Workspace 
> for Windows.”
>
> /usr/local/tomcat is the Tomcat installation directory and is something 
> different.
>
> Richard
>
>
>
> On 2 Jun 2020, at 14:58, Stefan Verweij <stefan...@dupont.com 
> <javascript:>> wrote:
>
> Thanks for your fast reply Richard, it is much appreciated.
>
> I cannot find any other `_DATA` or `_data` or `_Data` in my container 
> besides the one at the root level `/`. Also I can only find the logs of the 
> paths you described in the workspace (which is `/usr/local/tomcat/` if I am 
> not mistaken?)
> Would love to bind the root of the workspace, but Docker does not allow 
> this - or at least I have not found a way yet to bind `/`. 
>
>
> Looking forward to your reply.
>
> Regards,
> Stefan 
>
>
>
> Op dinsdag 2 juni 2020 14:51:05 UTC+2 schreef Richard Cyganiak:
>>
>> Try /_Data under the workspace. Capitalization matters on most operating 
>> systems and the documentation has it wrong. We'll fix it.
>>
>> You might want to consider binding the root of the workspace to a host 
>> directory instead, because data ends up in a number of workspace locations:
>>
>> - /Repositories/, where the system creates connector files for all graphs
>> - /server.topbraidlive.org/dynamic/, where configuration files and the 
>> license file are stored (and sometimes temp files)
>> - /Corpora/, if you use the Corpus asset collection type with file upload
>> - /logs/, where the TB log is stored
>> - Uploaded projects
>>
>> The rest of the workspace is static files that are not modified after 
>> initial installation (unless I'm forgetting something).
>>
>> Hope that helps,
>>
>> Richard
>>
>>
>>
>>
>> On 2 Jun 2020, at 13:34, Stefan Verweij <stefan...@dupont.com> wrote:
>>
>> Hi,
>>
>> I've deployed a docker service with TopBraid EDG 6.3 as a running 
>> instance. Deployment works as it should be and after license registration 
>> and setting the configuration parameters (choosing TDB: Store graphs in 
>> the general shared database) my TopBraid instance is up and running. I 
>> chose to work with the "TBD general shared database", since all graphs will 
>> be stored at the root of the workspace in the /_DATA directory (according 
>> to https://doc.topquadrant.com/6.3/server-administration/ - EDG 
>> Configuration Parameters part). This way I can create a bind volume to 
>> /_DATA so all the graphs are stored at my host as well (in case the 
>> container fails and all my graphs are lost).
>>
>> However, when I shell into my container using 
>> docker exec -it [container_id] /bin/bash
>> to look if my newly added graphs (such as an ontology) are indeed stored 
>> in the /_DATA directory, the directory is empty. 
>>
>> *Now my question is where does TopBraid store the graphs? *I've added an 
>> ontology so it must be located somewhere right?
>>
>>
>> (This question also applies to license storage and configuration storage, 
>> so I don't have to manually register the license and change the EDG 
>> configuration parameters every time I start the Docker instance).
>>
>>
>> Kind regards,
>> Stefan
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TopBraid Suite Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to topbrai...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/dab1c5ed-c91e-4d8a-baf7-f65c57ff9c48%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/dab1c5ed-c91e-4d8a-baf7-f65c57ff9c48%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to topbrai...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/cd16445d-9785-42df-bfbf-262a20029939%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/cd16445d-9785-42df-bfbf-262a20029939%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/fb6d3add-dad7-488f-96ee-c83c98ae3e63%40googlegroups.com.

Reply via email to