Depends on whether the workload is read only or not. For a read-only workload it may work and for a read-write workload you'll almost certainly get a corrupted/incomplete copy.
In either case copying a live database is strongly discouraged and is at your own risk In Fuseki we provide the ability to request a back up job which dumps a TDB database as a read transaction and so guarantees to get a consistent copy of the database though the dump itself will be in NQuads and so not itself a valid database. You might want to consider doing something similar in your web application. Rob On 10/02/2016 13:09, "Jean-Marc Vanel" <[email protected]> wrote: >Hi > >My use case is : run some statistics on TDB instance that are not exposed >via the web application. >And I would prefer not to stop the web application, that has users >entering >data. > >So I thought that I could type in the shell : >cp -r TDB TDsnapshot >while the web application with TDB embedded is running. > >It's not a problem if some data is missing. >However I fear that due to modifications occuring during the copy , the >result is corrupted. > >Do I have a good chance that it works ? >-- >Jean-Marc Vanel >Déductions SARL - Consulting, services, training, >Rule-based programming, Semantic Web >http://deductions-software.com/ >+33 (0)6 89 16 29 52 >Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui
