Request an online backup of the journal (non-HA Mode). The backup will be written to the backup file specified as the value of the Request Parameter, i.e.
curl --data-urlencode "file=/path/to/backup.jnl" http:
Will place the backup file in /path/to/backup.jnl. If not backupFile is specified, it will be written to backup.jnl in the directory where the java process is currently executing.
The REST API supports the following parameters:
file : The name of the file. Defaults to backup.jnl in the current working directory.
compress : Boolean to compress the backup. It defaults to false. It is true if the parameter is present without a value. Compress does not append a .gz to the backup file name.
block : Boolean to block the REST call on creating the snapshot. Defaults to true.
--data-urlencode "file=/path/to/backup.jnl" \
--data-urlencode "compress=true" \
--data-urlencode "block=true" \