Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it advisable to delete the plugin cache folders prior to doing a backup for an upgrade?

I was thinking of delete the plugin cache folders in the home directory prior to making a backup for a version upgrade to save time and disk space when doing a backup.  However it was mentioned in the article below that some 3rd party may store metadata in these directories.  Is there are way to regenerate the 3rd party metadata if the content are missing from the cache?  My guess is this can be achieved by uninstalling and reinstalling the plugins?

https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html

2 answers

0 votes
edwin vasquez Community Leader Dec 13, 2019

Never actually done that, but I’d recommend testing it out in a staging environment prior to doing it in production. 🙂

0 votes
DPK J Community Leader Dec 13, 2019

@Ngoc_Bui  First of all welcome to the community, hopefully you will enjoy it.

 

Now coming to your question, I give you an insight what I do,

  • I don't keep 'plugin-cache' in my backup
  • 'plugin-cache' will automatically regenerate when you start you confluence, or install plugins, so you don't need to worry about this.

So, overall, you don't need to care much about this, if you want to take a backup simply backup your home (not including cache) and DB, and if you want to upgrade simply upgrade.

If you need more insights, please bounce back.

@DPK J , when you say "... or install plugins", do you mean that installing/updating a plugin will regenerate the cache for that specific plugin? 

What if you have a plugin which you uninstall and then re-install - will that trigger plugin-cache regeneration, without going through Confluence service restart?

I'm looking for additional information on the cache clearing, if available 

DPK J Community Leader Jul 10, 2020

@Peter-I  Plugins don't have control over cache, it is controlled by Confluence Server.

So, re-installing them will create cache again.

Here is more subtle information about it - https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

463 views 24 9
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you