Change confluence attachments directory

Hi,

The previous Confluence administrator put confluence's attachements to a local filesystem but we want to put them to a NFS directory.

 

Can I change attachments directory without making any mistake?

What about existing attachements ? what can i do ?

1 answer

0 votes

You can't change the directory in more recent versions of Confluence (think it changed around 5.5).

But, yes, this is a standard thing to do - I usually stop Confluence, copy the existing attachments tree to the share, (re)move the attachments directory and then create a symbolic link to replace it.  Pointed at the share, Confluence can't tell the difference.

Another, similar trick is to mount the share into the file system as a directory.  For a unix-type box something like, "mount /dev/myshare /opt/jira/home/attachments".  In Windows, you can do the same with the disk manager I believe.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

101 views 1 14
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