Forums

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

How to manage backups of attachment for a global archive of a confluence project

dbouteloup@ignfi.fr
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!
January 26, 2018

Is it possible to backup all the attached documents of a confluence project with keeping original format documents in the backup (pdf, doc,xls...)?
A simple backup with backup attachment don't keep the files in the original format and names

1 answer

1 vote
Dave Theodore [Coyote Creek Consulting]
Community Champion
January 26, 2018

You are correct, and this is done for a reason.  Jira behaves the same way. When you attach a file to a Confluence page, Confluence obfuscates the file name and writes it to disk. It then writes data to the database with the original file name and location (pointer) on disk.  If you need to download the file, it knows what the original file name was from the database and it renames the obfuscated file back to its original name for you when you download.

Why does it do this? Great question, and there is a simple answer. Versions. When you upload a file to Confluence, it becomes version 1 of that file. If you upload a file of the same name to the same page, that second upload becomes version 2 and so forth. If they maintained the actual file name on disk, this would not be possible, as the second file would clobber the contents of the first file.

I guess that doesn't help you very much, but at least you know why it is the way it is.  Why do you want the files in their original names for backup?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events