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

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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

976 views 23 13
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