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
Accepted answer

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.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,556 views 26 14
Join discussion

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