Spring Cleaning for Confluence Server

Patrick Nelson June 1, 2018

We have a growing Confluence footprint, that has been in PROD for years, which takes awhile to backup.  I was looking at the DATA directory for old files.  Any suggestions on what directories I can clean out?

2 answers

1 accepted

1 vote
Answer accepted
Patrick Nelson June 1, 2018

What we are doing is to backup prior to an upgrade and then after the upgrade we:

1. Clear out the following DATA HOME directories:

analytics-logs
export
logs
recovery
restore
temp
webresource-temp

2. We use PostgreSQL and do a Vacuum of the confluence table

 

Is anyone doing anything else to keep the growth of the data set in check?

Patrick Nelson June 4, 2018

If anyone has any other best practices, please comment.  I'm going to close this now.

1 vote
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 1, 2018

By default there is a nightly XML backup job that is saved in the backups directory beneath the data or Confluence Home directory. If you have a Production Backup strategy in place, you may disable the automatic back-ups and reduce your footprint.

Another growing data folder is the attachments folder, where attachments are stored. These should not be deleted but could contribute to the increasing storage needs.

Patrick Nelson June 1, 2018

Yes, we have a backup strategy outside of Atlassian and have turned off automatic backups.  Thanks though cause I did have to check that!

Sonja Athing
Contributor
February 12, 2020

Hello, 

I would like to do some house cleaning on the attachment versions.  Some attachments are more than 10 deep.  How to manage ? Any guideline suggestions ? 

Such as:

If an attachment is 'x' amount of time old then reduce its version count to 'y'. 

where x could be 400 days and y could be 3.

Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events