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 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.
Hi my Community friends! For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...
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