Toolbox Dump - No content to map

Enonic version: Latest
OS: Ubuntu 16.04


Does anyone know what is going on over here? :sweat:
I am trying to create a cronjob to run ./ dump… every night for backup purposes.

./ dump -a su:password -t myDump

Failed to prettify response
com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
 at [Source: ; line: 1, column: 1]
        at com.fasterxml.jackson.databind.JsonMappingException.from(
        at com.fasterxml.jackson.databind.ObjectMapper._initForReading(
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(
        at com.fasterxml.jackson.databind.ObjectMapper.readTree(
        at com.enonic.xp.toolbox.util.JsonHelper.prettifyJson(
        at com.enonic.xp.toolbox.repo.RepoCommand.executeRequest(
        at com.enonic.xp.toolbox.repo.RepoCommand.postRequest(
        at com.enonic.xp.toolbox.repo.RepoCommand.postRequest(
        at com.enonic.xp.toolbox.repo.DumpCommand.execute(
        at com.enonic.xp.toolbox.Main.main(
Response error: 

FYI.: I was able to create a dump using Data toolbox.

Thx in advance. :slightly_smiling_face:

Interesting :thinking::thinking::thinking: … That error happens for every command that I run.

./ list-snapshots -a su:password
./ reindex -a su:password -b draft,master -i -r cms-repo

/api not mapped in the vhost mappings = localhost
mapping.api.source = /api = /api

You said it best brother! Thanks @gri

A little off topic but isn’t backup of /repo folder + snapshots a lot safer than doing a dump? If you for some reason need to load the data into another server that won’t work?