How to backup JIRA? (w/ MySQL instance)

Hi there,

 

i have successfully setted up my JIRA Starter Edition on a Windows 10 machine, within an own MySQL server instance (v5.7) running.

 

Now i am struggling in how to manage the Backup. How can i save the DB? Which directories of JIRA should be backed up?

Looking forward to your suggestions. Thanks!

 

tobi

2 answers

I would back it all up, as they contain all kinds of config-files, java keystores, addons and attachments so if installed in c:\atlassian\jira\ and c:\atlassian\application-data\JIRA i would back both those up. The database is backed up using:

mysqldump.exe <databasename> -u<username> -p<password> > c:\jira.database.sql

Not huge on windows mysql nor windows Atlassian deployments, so your paths most likely differ.

Hey Jonas,

 

thanks for the fast answer! Yeah they differ indeed but i already found the correct ones. Do i have to add anything before the mysqldumb.exe line? stopping the database or isnt it necessary?

 

Regards

If i do the mysql dump the .sql file is 0kb.

but should be >6MB

0 votes
Joe Pitt Community Champion Oct 25, 2016

Why aren't you using the built in backup process?

it doesnt save the DB?!

Joe Pitt Community Champion Oct 25, 2016

It saves ALL the data and configuration. I don't understand the distinction? It doesn't save attachments, but they aren't stored in the DB.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,794 views 11 18
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot