Never Ending XML-Export after Copy Space with Confluence CLI

TechnicalS June 10, 2014

Hello everybody,

i copy a space with the confleunce cli. this works fine but after the successfully copy job the space will be exported over and over again.

-----------------------------------------------------

rem release.bat
@echooff

rem Change the version and spaceKeys
set oldVersion=20


rem define spaceKeys in confluence
set spaceKey=INSPECTIT
set oldSpaceKey=%spaceKey%%oldVersion%


confluence --server "http://XYZ" --user admin --password PASSWORD --action copySpace --space %spaceKey% --copyAttachments --newSpace %oldSpaceKey% --name %oldSpaceKey% --description "copied space" --replace --descendents
rem con

---------------------------------------------------

I have no export command here :-<

Best regards

Toni

3 answers

1 accepted

0 votes
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2014

Check and see what is in your confluence.bat file.

0 votes
TechnicalS June 11, 2014

Oh man i was editing this file for the last three days and i did not see that command

tkanks a lot bob :->

0 votes
TechnicalS June 10, 2014

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events