Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Ngoc_Bui
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 13, 2019

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
DPKJ
Community Champion
December 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.

Peter-I July 9, 2020

@DPKJ , 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 

DPKJ
Community Champion
July 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

0 votes
edwin vasquez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events