Forums

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

Can you restore your Jira/confluence data from system files?

Michael Meloche
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 1, 2013

My PC hardware hosting my Jira server has failed. I am able to get to the data on the hard drive but not sure if I can use the data files to restore my Jira instance and get my data back. My system is setup on quarterly backups and unfortunately my last backup was near the end of February and I would have recent work I would like to get back if possible.

Is it possible to copy my install from the bad machine to a new machine?

Thanks

4 answers

1 accepted

5 votes
Answer accepted
Daniel Borcherding
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.
May 1, 2013

Speaking from a Confluence point of view you are going to need to ensure that you have your <confluence_home> directory intact. Unless you have been storing your attachments in your db (not really the best idea in the world) you are going to need the file system component to restore your attached data.

I might also recommend that you step up your backup strategy. Quartely backups are a great idea, especially if you are running on a VM. I ask that you take a look at our produciton backup strategy below. It is as simple as adding a chron job to run nightly database dumps and scp a copy of your <confluence_home> to a remote machine. This should ease the pain of another system failure.

https://confluence.atlassian.com/display/DOC/Production+Backup+Strategy

The document also contians links to refeneces on how to rebuild your instace from these files. Please let us know if you have questions.

0 votes
Theinvisibleman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2013

Hi Michael,

It could still be possible to salvage your instance if your database is still intact. You can actually connect a new instance to use the old database via editing it in either the config.bat/config.sh file, or with the dbconfig.xml file.

Please note, however, that trying to connect a new instance to the old database via the installation will erase your database data.

Also, I would recommend that you create a database dump before attempting this, just so that we have a backup in case anything happens.

0 votes
Michael Meloche
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 1, 2013

Awsome so everything is stored into the database then. What about uploaded file attachement to tickets and confluence?

0 votes
AmandaA
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.
May 1, 2013

Hi Michael,

All your system data will be resotred inside your database, but not the JIRA/Confluence installation files. If you are still able to start your database, you can generate a database dump and import to your new JIRA machine.

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events