Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Confluence CLI Export Space

Hello,

i want to export a space over the console on linux:

this is the script:

#!/bin/bash

# Change the version and spaceKeys

set oldVersion=23

set releaseVersion=24

set plannedVersion=25

# define spaceKeys in confluence

set spaceKey=INSPECTIT

set oldSpaceKey=%spaceKey%%oldVersion%

set releaseSpaceKey=%spaceKey%%releaseVersion%

set newSpaceKey=%spaceKey%%plannedVersion%

select confluence --server http://XYZ--user admin --password XYZ --action exportSpace --space %spaceKey% --file /root/%spaceKey%.zip

output on console:

./exportspacelinux.sh: line 20: syntax error near unexpected token `--server'

./exportspacelinux.sh: line 20: `select confluence --server 'http://XYZ' --user admin --password XYZ --action exportSpace --space %spaceKey% --file /root/%spaceKey%.zip'

Can somebody say what is wrong?

Best regards

Toni

2 answers

it works now

Deleted user Nov 12, 2023

Sorry for asking in a this old thread, but what was the solution? I have the same error :(

it works now

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events