What ist the recovery directory for?

This question is in reference to Atlassian Documentation: Confluence Home and other important directories

There is a recovery directory containig files like upgradeRecoveryFile-5791-5982-after.xml.gz and upgradeRecoveryFile-5791-5982-before.xml.gz. Can I delete this files and directory?

2 answers

1 accepted

1 vote
Answer accepted
Artur Jardim Atlassian Team Dec 23, 2015

Hi Frithjof,

By default, Confluence creates an upgrade recovery file before and after an upgrade. The operation can take long time on large databases and can be safely turned off if there is a process to back up database and verify the backup before performing an upgrade. Setting this property to false will disable upgrade recovery file creation.

These files are essentially partial database dumps, and they can be useful in cases where an upgrade task has failed and backups have not been taken. Basically, it depends on your needs, it will not affect your Confluence at all, as it is just a "backup".

 

0 votes

Hi Frithjof,

That's correct. This folder can be safely removed since it's just a backup. Note that we recommend to use an external backup method such as taking database backups and backing up the important folders such as the installation and data folders as stated here.

Cheers,

Rodrigo

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

267 views 2 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you