Forums

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

jira/confluence xml backup

Padmasree P
Contributor
August 31, 2018

how do we know whether xml backup is recommended for a setup during migration. till how much gb data does xml backup support during server migration

2 answers

0 votes
Heshan Manamperi
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.
September 3, 2018

Yes, you can use XML backup and there is no limitation. But let me share my experience.

Our confluence instance is quite large instance and XML backup is around 4-5GB. But when I import it back again process has been hanged. However after few weeks I noticed that issue has been occurred due to third party add-on.  

So before try this this in production instance, try to export/import XML backup in staging instance. :)

Padmasree P
Contributor
September 4, 2018

Hi Heshan, 

have you tried switching the db's using xml backup, as we are trying to change the db from MySQL to postgresql

Heshan Manamperi
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.
September 4, 2018

Then you have to use XML backup feature or any other tool. Best thing is try in a staging instance and verify before and after;

  • total issue count
  • total comment count
  • attachment count
  • and many more...

Also make sure to use server which has enough CPU and memory. Otherwise your XML import may hang. 

Padmasree P
Contributor
September 5, 2018

Hi Heshan,

will xml back up work on same version of Jira/confluence or can we use the xml backup in a upgraded version of Jira or confluence. eg can use xml backup of Jira version 6 in Jira version 7

Christine Cagakit-Ingco
Contributor
December 19, 2018

Just to share my experience I started to restore a 40GB zip file backup since Friday (4 days, 14 hrs, 55mins and 5 secs and it still on 1% completion. Not sure how long this could take but it must not be a good way to restore data (even mimicking it to stage environment)

Like Miles Erickson likes this
0 votes
Mauricio Karas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 3, 2018

Hello, Padmasree.

If I understood your question correctly, the answer is that there's no limit size on the XML Backup. The only issue is that the larger the backup the more time it will take to import all the data, I've seen XML Backups up to 3~4 GB and it takes many hours to complete an import.

Depending on the situation, you can create the backup using a database, like pg_dump or mysqldump, as that could be faster.

Kind regards,
Maurício Karas

Padmasree P
Contributor
September 3, 2018

Hi Mauricio Karas,

when we switch the db's we have xml backup as the only option. so I thought of checking the limitations.  if db size is 1gb , will xml backup be larger than the db size.

Suggest an answer

Log in or Sign up to answer