How delete attachments of iMessage and SMS?

Due to I can´t back up my idevice because icloud back up attachments of iMessage and SMS and I have not space anymore in my 5gb icloud storage I would like to know how delete these attachments. If I delete the message the attachments are still there. I deactivate all my app data, documents, etc... and the back up size doesn´t drop down after that. Anyone can help me?


Thanks in advance

iPhone 5, iOS 6.0.2

Posted on Jan 3, 2013 5:19 AM

Reply
14 replies

Jan 4, 2013 6:58 AM in response to CaMeL Grana

I noticed the same thing yesterday. Every so often I save off the SMS/iMessage SQLite database and delete the messages from my iPhone/iPad.


Using iPhone Backup Extractor, I extracted the iTunes iPhone/iPad backup. In /Library/SMS/Attachments I had 160 MB of files (photos, videos, PDFs, vCards, etc.) I sent and received via iMessage. Some were nearly a year old and were deleted in the Messages app months ago. (I usually deleted attachments immediately after sending/receiving them, but now I know that is a waste of my time.) These remained after I deleted all my messages and rebooted and resynced several times.


I assume at some point these attachments get cleaned up if space is needed, but who knows. The only way I can think of to delete them is to SSH into the device and delete that folder.


Also, the sms.db does not appear to be compacted even after several reboots, so I am not sure what triggers a vacuum.

Jan 25, 2013 4:55 AM in response to CaMeL Grana

This is a sucky bug.


My iCloud backup was 255Mb. I restored iPhone to new and put every single app back on by hand music etc and now my iCloud backup is 22Mb.


The stuff that lives here Library/SMS/Attachments is not being deleted ever, and without a jailbreak your only option really is to do what I did.


Good explanation here: http://thetecherra.com/2012/10/31/are-your-icloud-backups-suspiciously-large-her es-why/?utm_source=wordtwit&utm_medium=social&utm_campaign=wordtwit

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How delete attachments of iMessage and SMS?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.