Forums

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

Is it possible to re-create an instance with an existing confluence home dir and DB data tables?

Deleted user June 12, 2019

I'm trying to recover from a compromised (AWS) 5.7.1 instance.  I have the confluence home on an EBS volume and the database in an RDS mysql instance (both copies of the original).  For obvious reasons, the root drive and OS are not trustworthy at this point so an in-place upgrade seems like something to avoid.

I'd like to start from a new instance/OS and mount the old volume and database.  I've reinstalled 5.7.1 to start and then when I point it at the existing DB, I get this:

  • Confluence tables already exist in the selected database.

Is there a way around this?  Or is there a better approach (as in install on new empty database, then restore the old data tables on top, before upgrading to 6.15)?

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Deleted user June 12, 2019

answering my own question: I found the reference in another post on what to do - ensure <install_dir>/confluence/WEB-INF/classes/confluence-init.properties was pointed at the correct location (confluence.home).

I also had to copy over the jdbc resource from the old server.xml (and update it with the new JDBC url).

After that, working.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events