The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to backup JIRA? (w/ MySQL instance)

Tobias Hoffmann
October 25, 2016

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Joe Pitt
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 Champions.
October 25, 2016

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

Tobias Hoffmann
October 25, 2016

it doesnt save the DB?!

Joe Pitt
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 Champions.
October 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.

0 votes
Jonas Andersson
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 Champions.
October 25, 2016

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.

Tobias Hoffmann
October 25, 2016

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

Tobias Hoffmann
October 25, 2016

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

but should be >6MB