Moving file system location of Confluence attachments

Hi,

We are hosting Confluence on a server with two drives, C and D. All Confluence program and data files are on drive C. We are using the file system for Attachment Storage. We are running out of space on drive C and I'd like to move attachment storage to drive D. Can anyone kindly let me know if this is possible, if it requires me to move other Confluence files, and whether there is a guide that will help me achieve this?

Thanks,

Ish

1 answer

This widget could not be displayed.
Peter Koczan Atlassian Team Jan 21, 2013

Dear Ish,

The attachments are stored in the <CONFLUENCE-HOME> folder. Moving only the attachments is not that easy, thus I would suggest you to move the whole <CONFLUENCE-HOME> folder.

For this:

  1. Shut down Confluence
  2. Copy the full contents of the <CONFLUENCE-HOME> directory to the new desired location
  3. Modify the <CONFLUENCE-INSTALL-DIR>/confluence/WEB-INF/classes/confluence-init.properties file so that the confluence.home variable will point to the new location
  4. Start Confluence

Please note the difference between <CONFLUENCE-HOME> and the <CONFLUENCE-INSTALL-DIR>. Also, you may need to clear the plugin cache before starting Confluence again.

You may also want to take a look at this article: https://confluence.atlassian.com/display/DOC/Confluence+Data+Directory+Configuration

Kind regards,

Peter

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

140 views 16 7
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