---
schema_version: "1"
id: c9747d48133205f01a1eba352e56e10daf3cd197a0ebeba357719e485ce2b0a7
title: Remove Unneeded Files
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/server/maintenance_cleanup.md
canonical_url: https://help.tableau.com/current/server/en-us/maintenance_cleanup.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 87d4988f8ffa89f21e229cb00ab9dce6057e9d1db87ca8a27d60b40a29c0630b
description: Monitor disk space and remove unneeded files on Tableau Server.
---
[Skip to main content](#main-content)

# Remove Unneeded Files

As a best practice, you should regularly monitor disk space usage on your server. If the Tableau Server computer runs low on disk space, the impact to can be significant, including ultimately causing a failure. If you determine that space is getting low, you can archive any you want to save, and purge unneeded files, freeing up space for Tableau.

## Monitoring disk space usage

There are several things you can do to monitor disk space usage:

- Notifications: You can configure Tableau Server to send notifications when disk space reaches predetermined levels. For more information, see [Configure Server Event Notification](https://help.tableau.com/current/server/en-us/email.htm).
- Administrative views: You can use a pre-built administrative view to help monitor disk space usage. For more information, [Server Disk Space](https://help.tableau.com/current/server/en-us/adminview_space_all_nodes.htm).

## Reducing disk space usage

To make more disk space available, you can take the following steps:

- Archive log files: Tableau Server generates log files when running. These can be helpful in troubleshooting issues, and when you are working with Tableau Support, but you do not need to leave them in place indefinitely. To save disk space without losing logs, you can archive them with the `tsm maintenance ziplogs` command, and then copy the ziplogs archive to a computer that is not part of the Tableau installation for safe keeping. For more information, see [Log File Snapshots (Archive Logs)](https://help.tableau.com/current/server/en-us/logs_archive.htm).
- Clean up unwanted files: After archiving any logs you want to save, use the `tsm maintenance cleanup` command to remove log files older than seven days, temporary files, and optionally, rows from the `http_requests` table in the Tableau Server repository. You should run the cleanup command regularly. For more information about which files are removed, see [tsm maintenance cleanup](https://help.tableau.com/current/server/en-us/cli_maintenance_tsm.htm#cleanup).
- Remove other files: Over time Tableau Server can generate files that do not need to be left in place. In addition to the files mentioned above, be aware of files like old backups from previous versions. Tableau Server backup files have a `.tsbak` extension. We strongly recommend regularly backing up Tableau, and saving the backup files to a computer that is not part of the Tableau Server installation for safe keeping, but once you save the file in another location, you can delete it from the Tableau computer. For more information on backup files, including how to create them and where they are saved, see [Back up Tableau Server Data](https://help.tableau.com/current/server/en-us/db_backup.htm).