i use the command:
java -jar "/usr/local/atlassian-cli/lib/confluence-cli-8.7.0.jar" --server https://xxxxx.xxx --user admin --password "xxxx" --action restoreExport --file backup-2019_08_01.zip
Waiting for task completion: 0% complete. Initializing... .........................................................................
and i add --debug . get this:
Request type: GETContent type: application/json; charset=utf-8Request property Cookie, value: [JSESSIONID=0B06***]Request property X-Atlassian-Token, value: [no-check]Request property Content-Type, value: [application/json; charset=utf-8]Response code: 200, message: null, url: https://xxxx.xxx/rest/api/latest/longtask/bf9c258b-d24e-4fe6-8a30-421c97d8f586Result data: {"id":"bf9c258b-d24e-4fe6-8a30-421c97d8f586","name":{"key":"import.data.task.name","args":[]},"elapsedTime":266031,"percentageComplete":0,"successful":true,"messages":[{"translation":"Initializing... ","args":[]}],"_links":{"base":"https://xxxx.xxx","context":""}}task data{"id":"bf9c258b-d24e-4fe6-8a30-421c97d8f586","name":{"key":"import.data.task.name","args":[]},"elapsedTime":266031,"percentageComplete":0,"successful":true,"messages":[{"translation":"Initializing... ","args":[]}],"_links":{"base":"https://xx.xxx","context":""}}.URL requested: https://xxx.xxx/rest/api/latest/longtask/bf9c258b-d24e-4fe6-8a30-421c97d8f586Request type: GETContent type: application/json; charset=utf-8Request property Cookie, value: [JSESSIONID=0B06***]Request property X-Atlassian-Token, value: [no-check]Request property Content-Type, value: [application/json; charset=utf-8]Response code: 200, message: null, url: https://xxxx.xxx/rest/api/latest/longtask/bf9c258b-d24e-4fe6-8a30-421c97d8f586Result data: {"id":"bf9c258b-d24e-4fe6-8a30-421c97d8f586","name":{"key":"import.data.task.name","args":[]},"elapsedTime":269054,"percentageComplete":0,"successful":true,"messages":[{"translation":"Initializing... ","args":[]}],"_links":{"base":"https://xxxx.xxx","context":""}}task data{"id":"bf9c258b-d24e-4fe6-8a30-421c97d8f586","name":{"key":"import.data.task.name","args":[]},"elapsedTime":269054,"percentageComplete":0,"successful":true,"messages":[{"translation":"Initializing... ","args":[]}],"_links":{"base":"https://xxxx.xxx","context":""}}.URL requested: https://xxx.xxx/rest/api/latest/longtask/bf9c258b-d24e-4fe6-8a30-421c97d8f586
percentageComplete is 0 all the time,what‘s wrong with there?