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?
As per the SUPPORT-2830 ticket, here are the further steps:
After changing the configuration of the acli.properties file of CLI client 9.0, space is importing successfully with all the details including all-updates and people section.
Hi huan_yang,
Thanks for providing the information.
We have gone through the details, in order to proceed further can you please try the below in your Test environment and provide the below details.
1. Please execute the restoreExport with below parameters.
--action restoreExport --file "exportSpace.zip" --noIndex
2. Please check if restore folder is already there. If not then please create a restore folder and place the ".zip" file in this folder.
3. Please create a new space and export this space. Then try to restore this space using CLI action.
4. Are you able to import other any other space?
Thanks,
Manisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.