Forums

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

Manually restore confluence install

Zout
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!
June 21, 2015

Situation:

  • I got my confluence_home dir, with the hsqldb in /database.
  • I lost the confluence.cfg.xml and installation dir.
  • I don't have a backup in the form of a xml file.

I figured I could just use the db files and the other files from confluence_home but I'm not having any succes so far. Which dirs do I need to remove to get it working?

Or perhaps is there a way to manually create a restore.xml? Or could I create a clean install and import the actual site files?

1 answer

0 votes
Nic Brough -Adaptavist-
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.
June 22, 2015

You could have lost this one.  Your best bet would be your last suggestion, sort of.

I would try creating a new installation in an empty directory, of exactly the same version you have already.  Go all the way through the installation to the point where it has let you log in as a user and see an off-the-shelf Confluence install.  (While installing, make sure you select the HSQL option for the database)

Now, shut it down.

Then go into the "home" directory for it and find the files that make up the hsql data - these are database.script and database.properties.  Move them somewhere safe, and then copy the same files from the broken installation.  Make sure the permissions and ownership are correct.  You also need to copy the full directory <confluence home>/attachments to the new installation although that really is a flat copy.

Now restart the new Confluence.  Once it's running, log in and run a full re-index.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events