I'm an admin on two confluence instances. I want to copy space from one confluence to another one.
When running this command:
confluence.sh --server https://from_server/ --user myUser1 --password password1 --action copySpace --space SPC --targetServer https://target_server --targetUser myUser2 --targetPassword password2 --newSpace NSPC --replace
I'm getting this error:
Remote error: Resource does not exist. Response code: 404. Use -v to see more details.
Client error: Could not login to https://target_server
Now this is weird because when I run
--action getSpaceList
On both instances i.e. https://target_server and https://from_server I get correct output just fine which to me indicates that I can login to https://target_server without any problems.
I'm at complete loss as to what's happening here. Running with --verbose and --debug doesn't help much.