On 06/03/15 18:10, Trevor Donaldson wrote:
Thanks Andy the link is very helpful. I am assuming that in order to
reimport I would use tdbloader. Is this right?

yes - backups are compressed n-quads, .nq.gz

        Andy


On Fri, Mar 6, 2015 at 12:47 PM, Andy Seaborne <[email protected]> wrote:

On 06/03/15 16:29, Trevor Donaldson wrote:

Hi all,

   I was wondering if there is a way to programmatically backup the tdb
instance? I found this question
http://webcache.googleusercontent.com/search?
q=cache:0whNmMD65OcJ:answers.semanticweb.com/questions/
24740/how-do-you-create-and-restore-backups-with-fuseki-
and-tdb+&cd=3&hl=en&ct=clnk&gl=us
but it is referencing fuseki 1 (i.e. --mgtPort=port). Is there another way
that a backup and a restore should be handled in fuseki2?

Thanks in advance,

Trevor


See staging documentation:

http://jena.staging.apache.org/documentation/fuseki2/fuseki-server-
protocol.html

POST /$/backup/{name}

The admin interface has to be on the same port (WAR file deployment) and
it's under /$/, protected by Shiro (this is what the UI does when you press
the backup button)

There was a very recent bug fix (a few days ago) - the backup was written
to the wrong place. The latest build, it's written to $FUSEKI_BASE/backups/

         Andy






Reply via email to