If I delete the contents of the Hesk attachments directory (except for the last 90 days) would this cause any problems?
It is getting a little large and killing backup space.
Deleting attachments directory contents?
Moderator: mkoch227
Re: Deleting attachments directory contents?
Klemen would know the answer better than anyone else here, but I don't see an issue, unless someone wants to grab an attachment from an old ticket, in which the attachment would no longer exist. But the help desk itself should function normally.
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: Deleting attachments directory contents?
Just like Mike said - HESK will still function normally, but anyone tries to download a deleted attachment an error will show saying "This file has been deleted from the server and is no longer available for download"
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Deleting attachments directory contents?
previous posts +
You should consider restricting the number and size of attachments.
Backups should be never on the same storage device as the original files.
You should consider restricting the number and size of attachments.
You dont do backups on the same space do you??cwshubby wrote:... It is getting a little large and killing backup space.
Backups should be never on the same storage device as the original files.
Alcazar
(nach Diktat spazierengegangen)
(nach Diktat spazierengegangen)
Re: Deleting attachments directory contents?
I have the limits set, but over a year it builds up. We get a lot of images from customers.
All backups are done offsite via FTP. The attachments directory makes it a pain to archive
All backups are done offsite via FTP. The attachments directory makes it a pain to archive

Re: Deleting attachments directory contents?
Could an option be added to v2.6 that allows cleaning/deleting of attachments of resolved tickets? Perhaps in the SETTINGS tab. Ideally it would alter the SQL DB to remove the attachment info from the ticket as well, so there would not be a user option to attempt to download a missing file.
Re: Deleting attachments directory contents?
Having an option to specify the days to keep attachments would be nice.
We use Hesk for a customer service KB and the attachments are used a lot.
We don't backup on the same drive and also backup off the site in multiple area.
We use Hesk for a customer service KB and the attachments are used a lot.
We don't backup on the same drive and also backup off the site in multiple area.
Re: Deleting attachments directory contents?
For now you will need to manually delete the old attachments (or write a script/cron job to do that for you) because there is (still) no built-in way of doing this.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools