# `Parapet.Evidence.Archiver`
[🔗](https://github.com/szTheory/parapet/blob/v1.0.0/lib/parapet/evidence/archiver.ex#L1)

Archives old, resolved incidents to a JSONL file and deletes them from the primary database.

> #### Experimental {: .warning}
>
> This module is **experimental** in v1.x. Its API may change in a minor release with a
> single-version notice in CHANGELOG.md. See
> [Stability & Deprecation Policy](stability.html) for details.

# `archive`

```elixir
@spec archive(module(), Path.t(), pos_integer()) :: {:ok, :ok}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
