# Free up disk space on a server

Your disk is filling up. See how much each kind of leftover file takes, remove it safely without touching your live sites, and repeat it every week.

A full disk stops updates, backups and sometimes the sites themselves. Fuzops can remove leftover files the server no longer needs. Your sites stay online and their data is not touched.

## What you need

- A server that is **Online**. Alerts usually warn you first (**Disk space used above 85%**).

## Steps

1. **See how full the disk is.** Open the server, then **Tools** › **Maintenance**. **Free up disk space** shows how much is used, for example "39.1 GB of 99.4 GB used (39%)".

   ![Maintenance with Free up disk space and how much is used](https://internal.fuzops.com/docs-img/server-maintenance.webp)

2. **Open Free up disk space** and choose what to remove:
   - **Downloaded install files** (package cache and unused packages);
   - **Old compressed logs**;
   - **Old system log**, keeping the last days you choose (**Keep the system log of the last** …);
   - **Old database change logs, older than 7 days** (MySQL / MariaDB binary logs);
   - **Old versions of your sites beyond what each one keeps**: you can no longer go back to the versions that are removed;
   - **Docker leftovers**: stopped containers and unused images (volumes are kept).

3. **Check first.** Choose **Check how much**. It shows how much each choice frees. Nothing is deleted yet.

4. **Free the space.** Choose **Free up space** to remove what you ticked. You can follow it while it runs.

5. **Make it weekly.** Tick **Do this every week** so the same cleanup runs by itself.

## What you should see

The disk line on **Maintenance** and the server's **Monitoring** show more free space. The activity log lists what was removed.

## If it goes wrong

- **Little space was freed**: the disk is used by your own data. Look at each site's **Folder size** under **Visits and errors**, at large uploads, or at database backups kept on the server (move them to [online storage](https://internal.fuzops.com/docs/backups)). Lower **Number of versions to keep** in a site's **Update settings**.
- **The disk is full and nothing works**: free space first with **Downloaded install files** and **Old compressed logs**, which are always safe, then look for the cause.
- **Still not enough**: resize the server at your cloud company, or add a disk.
