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
Thank You Stephen,
Can you please let me know under database which table to look at.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.