---
title: influxdb3 debug sweep
description: The influxdb3 debug sweep command reads back orphaned file cleanup audit trails as reports for your InfluxDB 3 Enterprise deployment.
url: https://docs.influxdata.com/influxdb3/enterprise/reference/cli/influxdb3/debug/sweep/
estimated_tokens: 425
product: InfluxDB 3 Enterprise
version: enterprise
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb3/enterprise/reference/cli/influxdb3/debug/sweep/
date: '2026-09-29T11:52:29-04:00'
lastmod: '2026-09-29T11:52:29-04:00'
---

The `influxdb3 debug sweep` command reads back the audit trail that[orphaned file cleanup](/influxdb3/enterprise/admin/orphaned-file-cleanup/)writes each time it runs.
Both subcommands work directly against object storage.
They take the same object store connection options as `influxdb3 serve`and don’t need a running InfluxDB 3 Enterprise server.

## Usage

```bash
influxdb3 debug sweep <SUBCOMMAND>
```

## Subcommands

|                                Subcommand                                 |                 Description                  |
|---------------------------------------------------------------------------|----------------------------------------------|
|  [list](/influxdb3/enterprise/reference/cli/influxdb3/debug/sweep/list/)  |List recorded cleanup passes, oldest to newest|
|[report](/influxdb3/enterprise/reference/cli/influxdb3/debug/sweep/report/)| Read one pass’s audit trail back as a report |
|                                   help                                    |Print command help or the help of a subcommand|

## Options

|Option|            |          Description          |
|------|------------|-------------------------------|
| `-h` |  `--help`  |    Print help information     |
|      |`--help-all`|Print detailed help information|
| Subcommand | Description |
| --- | --- |
| Subcommand | Description |
| list | List recorded cleanup passes, oldest to newest |
| report | Read one pass’s audit trail back as a report |
| help | Print command help or the help of a subcommand |

| Option |  | Description |
| --- | --- | --- |
| Option |  | Description |
| -h | --help | Print help information |
|  | --help-all | Print detailed help information |
