Forums

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

backup no file extension

G July 4, 2022

Hello just want to ask about why files in our confluence backup attachment folder file inside it has no file extension what is the relevant explanation for it?

 

 

2 answers

0 votes
Fabio Racobaldo _Herzum_
Community Champion
July 4, 2022

Hi @G ,

for security reason, Confluence manages attachment with a particular policy (as explained in the article posted by @Mahesh Shinde ) .

If you need to retrieves a specific file from a backup you can follow this article https://confluence.atlassian.com/conf79/retrieving-file-attachments-from-a-backup-1027129586.html

Hope this helps,

Fabio

0 votes
Mahesh Shinde
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.
July 4, 2022

Hello,

You can find more detail information in this article.

Link: https://confluence.atlassian.com/doc/hierarchical-file-system-attachment-storage-704578486.html

G July 5, 2022

Hello Mashes Shinde can you assist me with your instruction? 

 

  1. Unzip the backup directory and open entities.xml.
  2. Go to the attachments directory and open any directory. The directory name is a page id. Each of the files in the directory is an attachment that must be renamed.
  3. Search entities.xml for attachment objects with that page id. When one is found, locate the attachment id and filename.
  4. Rename the file with that attachment id to the original filename and test it.
  5. Find the next attachment id and rename it. Repeat for each file in the directory.
  6. Once all files in the current directory are renamed to their original filenames, search entities.xml for the page id, eg directory name. Find the page object with that page id and locate its page title.
  7. Rename the directory to the page title and move on to the next directory. Repeat for each un-renamed directory in the attachments directory.
  8. To import each file back into Confluence, upload to the original page by attaching the file from within Confluence.

 

The number 4 step rename to what? 

Mahesh Shinde
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.
July 6, 2022

Hello,

From entities.xml file, you will get page id and attachment id.

Once, you are able to find attachment id in attachment directory, then rename that attachment id with original filename (attachment name) which you are looking for.

G July 10, 2022

Can you give a visual instruction about this?

I am confuse about the original filename thing.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events