Hi Tim,

I am not using a container, but I just tested the latest version from Git
on Eclipse, and tested the endpoints with curl to query and backup. Maybe
your endpoint URL is missing something?

1. Create ds in-memory dataset
2. Load some dummy data
3. curl a query: $ curl 'http://localhost:3030/ds/' -X POST --data-raw
'query=...' (success, data returned as expected)
4. curl to trigger a backup: $ curl 'http://localhost:3030/$/backup/ds' -X
POST

Then, if you want, you can also query for the tasks (a back up creates an
async task on the server):

$ curl http://localhost:3030/$/tasks
[ {
    "task" : "Backup" ,
    "taskId" : "1" ,
    "started" : "2022-11-27T18:06:01.868+01:00" ,
    "finished" : "2022-11-27T18:06:01.893+01:00" ,
    "success" : true
  }
]

-Bruno

On Sun, 27 Nov 2022 at 17:55, Tim McIver <[email protected]> wrote:

> I should mention also that the Docker image that I'm using in this case
> comes from here <https://github.com/AtomGraph/fuseki-docker>.
>
> On 11/27/22 11:43, Tim McIver wrote:
> > Hello,
> >
> > I'd like to backup my Fuseki data using the web API.  I found
> > documentation about how to do that here
> > <
> https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html#backup>.
>
> > But when I try use the listed endpoints, they all result in a 404.
> > I'm using curl from a container in a Docker network to do this.  I
> > know that I can connect to the server because a call like "curl
> > http:/<fuseki-host>:3030/ds" returns data with content type
> > "application/trig".
> >
> > What am I missing?  Any help would be appreciated.
> >
> > Tim
> >

Reply via email to