Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Instance Base URL when restoring XML backup ina fresh instance

serge calderara
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.
June 5, 2024

Dear all,

We are actually migrating a jira isntance using H2 DB to an other fresh instance using SQL server.

For that we have generated the backup xml file from system backup of the source instance which we need to keep up and running during the time we prepare the migration.
Source base url is something like : https://<myinstance>:8443

Next we have setup a fresh empty instance for which we will restore the backup into
New instance base url is something like : https://<myinstance>:8444

As each instance are using different port, we can have both of them running at same time.

Question :

If we restore the backup of teh source instance to the target instance, what will happen to the base url ?

As in the entities.xml file there is the base URL of teh source instance written, does the restore will be smart enought to ignore the source base url and use the taget base url insatead.

We would like to avoid that the new instance migration we test has some pointers somehow to the url of the source instance

Thanks for clarification
regards

1 answer

0 votes
Charlie Misonne
Community Champion
June 5, 2024

The base URL is in the xml file indeed. When you restore it to the new site it will use the base url from the backup.

One of the first things to do after the restore is to change the base URL to the correct one. You'll also get a warning about this when you login.

Of course you can also adapt the XML file and set the new base URL. But those files are often huge and not easy to edit.

We would like to avoid that the new instance migration we test has some pointers somehow to the url of the source instance.

Just edit the base URL after the restore and you'll be fine. And even if you don't, I can't think of anything that can go severely wrong.

Suggest an answer

Log in or Sign up to answer