Forums

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

Restore from mysql backup

Henry Dittmer
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!
April 16, 2018

My server died and requires a new Confluence installation.  I have a mysql database backup but cannot get the new Confluence instance to link to that database.  What are the steps to link the two?

2 answers

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2018

Hi Henry,

If you have a file system backup of the Confluence Home directory (defined in confluence/WEB-INF/classes/confluence-init.properties) the confluence.cfg.xml file in the root of that folder will "tell" Confluence how to connect to the MySQL database. You will also need to put the MySQL driver in the <installation-directory>/confluence/WEB-INF/lib directory as described in Database Setup For MySQL .

If you don't have a file system back-up, it's a shame because attachments are usually stored in the Home directory but you can get most of your content back by installing a "dummy" instance and then changing the JDBC connection details to the back-up of Production. Please see: How to Generate a New confluence.cfg.xml

Best of luck to you in this endeavor, please let me know how we can help.

Thanks,

Ann

0 votes
M Amine
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.
April 16, 2018

Hi Henry,

Please read the following documentation.

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events