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,
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.
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.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs