It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Machine crash and sql dump

Hello all,

I have (or had...) 3 virtual machines, with Jira, Confluence and Bitbucket. The hypervisor crashed, and the machines are not working anymore (the os won't start).

I have SQL dump of the machines (mariadb), but no XML export.

I tried to reinstall instances, but when I try to attach to the databases, it complains about already existing data.

Can someone tell me the procedure to gain working instances with data ? When I looked, I only find informations about XML dump.

 

2 answers

1 accepted

0 votes
Answer accepted

You're probably very close, but I'm not sure exactly what you've done with your "reinstall".  There is a minor trick to this in your case, and I'm not sure a lot of the docs really cover it properly.

There is an additional question too - do you have a backup of the installation's "home" directories?  That'll come in later...

So, for each application:

  1. Create an empty database
  2. Install it as though you were creating a new installation, i.e with the empty database, and no data from the "home" directory backup if you have one)
  3. Get it to the point where it runs and you can log in with the initial admin user
  4. Stop the system
  5. Restore the database backup into the database
  6. If you have a backup of the home directory, restore that into the new one, but preserve the config file that has the database connection in it (dbconfig.xml for JIRA, confluence.cfg.xml for Confluence, can't remember Bitbucket and check carefully before relying on my memory)
  7. Restart the application
  8. If you had the home directory, you might find it is now working fine, but I'd still recommend the next step
  9. Do a full re-index of the whole thing

 

 

Hello, and thanks for your help. It worked fine on Jira, now I'm testing it on Confluence and BitBucket.

No problem.  I've been through it a lot on the current project - not crashes, but rapid restores of test systems, so I'm quite familiar with it for JIRA.  Confluence, I wasn't the lead on that, but did a few.  I'm sorry if it's not quite right for Bitbucket - my colleagues did all of those.  I think it's broadly correct for older versions (when it was Stash), but I'm getting rusty.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,639 views 8 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you