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

0 vote
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
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
Published yesterday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

63 views 0 11
Read article

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