Servers1 min readUpdated

Disk space: what uses it and how to free it

Where disk space goes on a store server, what is safe to delete and what you should never remove.

The disk bar on the Graphs tab shows how full the server is. Above 80% it is time to look; above 90% databases and caches start to fail.

Usual suspects

WhatWhereSafe to clean?
Magento logs and reportsvar/log, var/report of the applicationYes, old files. Keep the last days if you are debugging.
Magento caches and generated codevar/cache, var/page_cache, generatedUse Actions, Flush all caches, not a manual delete.
Old releasesreleases/ (Magento and Laravel deploys)We keep the last few releases on purpose, for rollbacks.
Backup downloadsbackups-download/Deleted on their own after 24 hours.
Media and product imagespub/media, wp-content/uploadsOnly with care: unused images are often still referenced.
DatabaseMariaDBLarge log tables can be cleaned; ask us first.

Never delete files in shared/, app/etc/env.php, wp-config.php or .env. They hold the store's configuration and its connection to the database.

Not sure what is filling the disk? Open a ticket: we check the largest folders and tables for you and tell you what is safe to remove.

Did this solve it? If not, tell us what you see and we look at your server.

Open a ticket

Still stuck? Ask a person.

Tickets go straight to the engineers who run ShopWhizzy servers. Tell us the store, what you see and when it started, and we take it from there.