I am trying to test that my native database backup tool is working. I followed these steps:
But when I launch Jira, it acts like there is no database and displays the "JIRA Setup" window. From there it asks if I have "existing data", and if I click that link it asks for the path to the xml backup file. (I didn't make one).
The Help documentation only explains how to restore from an xml backup (even though another page strongly recommends that native db backup tools are used. But I can't find any documentation for restoring the database on the new server from the DB backup file.
Kevin, you'll need to copy your application 'Home' directory as well as the DB content. Among other things (like attachment binaries), the application data directory contains a config file telling JIRA what DB connection details to use.
I'm pretty sure I already had the config file -- which is why step 6 worked. But I hadn't thought about the attachments, etc. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Might be worth trying this... If your test server did not have an active database before, let the JIRA setup run through that process, then stop the server and perform the database restore.
Restart JIRA after this and you should see your data. Ensure that any plugins, etc are added to JIRA before the restore, just in case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, I can't test your suggestion now, because I gave up and went with the xml backup (which worked fine, btw). But the next time I want to port my production version over to the test server, I'll give you suggestion a try. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
[I get a 405 Not Allowed when I try to edit my own question. Here's the updated version]
I am trying to test that my native database backup tool is working (as strongly advised at the end of step 2 on this page). I followed these steps:
But when I open Jira in a browser, it acts like there is no database and displays the "JIRA Setup" window. From there it asks if I have "existing data", and if I click that link it asks for the path to the xml backup file. (I didn't make one).
The Help documentation only explains how to restore from an xml backup (even though another page strongly recommends that native db backup tools are used. But I can't find any documentation for restoring the database on the new server from the DB backup file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.