I have a hosting account and the disk space has been exceeded. Can I delete all the files under sites/default/files except the imagecache folder? Do I need the raw files once it has been converted with Imagecache? What happens when I clear all the cache? Does it delete the imagecache directory? Please advice drupalers..

Comments

Ayesh’s picture

Don't do that.
All files you upload goes to these folders. Keep original files.

You can delete all imagecache folders amd let the site regenerate them as it want. Also if you need to save some space, go to sites/all/libraries anfld hunt tests/demo/sample folders.

msathesh’s picture

@Ayesh.. Thanks for your comments. What about the database tables?? Can I delete the accesslog, watchdog & cache* tables? Would there be any effect within Drupal if I empty these tables? Thanks Ayesh.

Ayesh’s picture

You can set watchdog to keep less amount off errors of completely disable that.
You can clear the cache to empty the database for a small time but eventually it will grow up again.
Do not delete any table. Just truncate if you feel it's good for you.
Revision Deletion is a good module if your site has unwanted revisions to delete.