> ## Documentation Index
> Fetch the complete documentation index at: https://docs.siftstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Recover streamed telemetry that failed to ingest

> Find streamed telemetry that failed to reach Sift, ingest it again, and confirm the recovered telemetry is complete.

After completing this workflow, you can find streamed telemetry that failed to ingest, ingest it again, and confirm the recovered telemetry is complete.
Use it after Sift rejects streamed records or a stream drops its connection.

## Before you begin

* You are familiar with how [Sift organizes telemetry into Assets, Channels, and Runs](https://docs.siftstack.com/documentation/get-started/data-model.md).
* You have reviewed the following workflow: [Stream live telemetry](https://docs.siftstack.com/documentation/ingest/data-import/stream-live-telemetry.md).

## How telemetry recovery works

Where the missing telemetry is, and how you recover it, depends on how it failed.

## Export and resend rejected records

Sift sends streamed records to the DLQ when ingestion fails because of invalid values or parameters.
Sift deletes DLQ data automatically after a fixed period. For retention periods, see the [Data Processing reference](https://docs.siftstack.com/documentation/reference/manage/data-processing-reference.md#retention).

1. Click your profile icon.
2. Select **Manage**.
3. In the **Manage** navigation menu, select **Data Processing**.
4. In the **Data Processing** table, find the row for the **Asset**, **Start Time**, and **End Time** you want to investigate.
5. In the **Export** column, click  to download a ZIP file of CSV files with the rejected records and the error description for each.
   * For the CSV columns, see the [Data Processing reference](https://docs.siftstack.com/documentation/reference/manage/data-processing-reference.md#export-file).
6. Review the error descriptions in the CSV files and correct the cause, such as a missing ingestion config or a Channel data type mismatch.
   * To resolve the cause with Sift, select  **Docs + support** in the navigation and submit a ticket.
7. After you fix the cause, [stream the affected telemetry](https://docs.siftstack.com/documentation/ingest/data-import/stream-live-telemetry.md) again.

## Replay streaming backup files

In both [live with backups and file backup modes](https://docs.siftstack.com/documentation/ingest/data-import/stream-live-telemetry.md#keep-a-long-running-stream-reliable), the client writes local backup files of the data it streams. The Sift CLI replays those files into Sift once connectivity is restored.
Before you replay the files, [install](https://docs.siftstack.com/documentation/reference/cli-reference.md#installation) and [configure](https://docs.siftstack.com/documentation/reference/cli-reference.md#profile-setup) the Sift CLI on the machine that holds the backup files.

1. On the machine that ran the stream, list the [backup files](https://docs.siftstack.com/documentation/reference/cli-reference.md#import-backups) without importing them. Replace `<dir>` with the backup directory. If you omit it, the CLI uses your OS data directory.
   ```bash theme={null}
   sift-cli import backups ls <dir>
   ```
2. Import the backup files. The CLI imports any data from the backup files that did not reach Sift. To delete the files after a successful upload, add `--cleanup`.
   ```bash theme={null}
   sift-cli import backups --path <dir>
   ```

## Check the recovered telemetry

1. Select **Runs** in the navigation, then enter the Run name in the **Search** box.
2. In the **Runs** table, confirm the Run's Asset is the right one, then click the Run.
3. Click  **EXPLORE**.
4. In the  **Channels** tab, confirm each Channel you expected to recover appears.
5. Click a Channel name to plot it.
6. Confirm the failed time range now has data, without gaps.
7. [Verify that telemetry is arriving](https://docs.siftstack.com/documentation/ingest/monitor-ingestion-health.md) with no new failed records.
8. Decide whether the recovered telemetry is complete enough to use. If gaps remain, [export and resend rejected records](#export-and-resend-rejected-records) or [replay streaming backup files](#replay-streaming-backup-files) again for the missing time range.

## What's next

* [Analyze a Run](https://docs.siftstack.com/documentation/analyze/analyze-a-run.md): Plot and explore the recovered Channels across Panels.
* [Detect and review issues in a Run](https://docs.siftstack.com/documentation/review/detect-and-review-issues-in-a-run.md): Generate a Report for the Run and review the issues it flags.
