Forums/Community/Community questions & answers

Answered

XML Export doesn't include attachments - How can I get a backup/extract of my attachments?

Rory
asked this on May 26, 2010 07:06

Hi, I'm now on a Plus+ plan, partly to get full backups of forums & tickets, however it seems that the backups don't include attachments.

Is there a way to get an export or backup of attachments?

thanks,

Rory

 

Comments

User photo
Skip Moore
Zendesk
Check Answer

In each ticket XML is the attachment section which gives you the link to the file. Create a script to look for

<attachments type="array">
<attachment>
<content-type>text/x-log</content-type>
<created-at type="datetime">2010-09-22T06:56:03-07:00</created-at>
<filename>atlassian-jira.log</filename>
<id type="integer">9651681</id>
<is-public type="boolean">true</is-public>
<size type="integer">381952</size>
<token>ufsoswr1pfpy8fm</token>
<url>
http://www.something.net/attachments/token/ufsoswr1pfpy8fm/?name=atlassian-jira.log
</url>
</attachment>
</attachments>

the tag URL and then use a curl or wget to download it to your server.

Cheers
SKip

September 22, 2010 06:59
User photo
Mario

That's the answer - program something with the api?

Are you all working on something to do it? Or could you refer us to a consulting agency that could perform the service?

May 04, 2011 05:55
User photo
mark axelson
interfaceusa
Can you make this easier than having to mess with the API?
September 09, 2011 14:44
User photo
Will Scarbrough
sasaki

I second the suggestion for a feature to backup images with the text of forum posts.  Zendesk has begun to hold a serious amount of critical internal information, and the images are as much a part of that as the text.  This is an important feature.

January 11, 2012 13:32
User photo
Marci

+1 for sure!!

February 13, 2012 10:38
User photo
Yaron Caspy
correlsense

That this is only available with the API is not acceptable. We invest a lot of time uploading information to the forums - we have to have a way of backing it up. Huge +1. 

February 16, 2012 04:12
User photo
Justin Fain

Agreed.  +2

March 23, 2012 07:27
User photo
Chirag Desai
amaeya

Hi Guys,

Are people still looking for this? I notice Mario mentioned he was happy to get a consulting firm in. I'm sure we can help here. I guess I would need to understand what people would need though.

Do you need to back these up locally, or over FTP (of your choice/we can provide options)? Any other criteria?

Thanks.

April 18, 2012 15:01