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

Confluence SPace move from one Instance to Another

AKASH BHARDWAJ October 19, 2014

Hi All,

 

I have a Space over our STAG instance, I copied that Space Backup and Moved to our PROD Instance, all the pages have been migrated successfully. but links which are still pointing to STAG instance. This is the Case with all the Pages.

 

Please let me know how could i proceed ahead??

 

Thanks & Regards,
Akash bhardwaj

2 answers

1 accepted

0 votes
Answer accepted
AKASH BHARDWAJ October 26, 2014

Thank You Stephen,

Can you please let me know under database which table to look at.

 

 

AKASH BHARDWAJ October 26, 2014

@Stephen Gurnick : Thank You, Can you please let me know which Table i am supposed to look at. I went through Database but couldn't yield much info. Please let me know your views. Thank You, Akash

Stephen Gurnick
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.
October 26, 2014

For operations inside the database, I highly recommend contacting Atlassian support to provide guidance. Going into the database to make modifications can put your Confluence instance into an unsupported configuration, unless you are absolutely sure you know what you're doing. Assuming your Space backup is in XML format, you could use the sed command on this file to replace your stage URL with your production URL before importing back into your database.

DavidL October 27, 2014

Adding to what Stephen wrote. You could use the below on the xml file. Replace the http://<source>; and http://<dest>; with your site specific information. The source and destination should contain a fully qualified domain name, so you don't change URLs that are set correctly. You will need to unzip the archive before you run the command and zip up the files once you are done. perl -p -i -e 's|http://<source>|http://<dest>|g'; entities.xml Always make a backup before you do something like this. Or at the very least save a complete XML backup to a safe location.

0 votes
Stephen Gurnick
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.
October 19, 2014

This will most likely involve going into the database to update the link URLs. Since Atlassian doesn't support users going into the database to make their own modifications, I suggest you contact support to have them give you a query to use.

-- Stephen

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events