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

# Local disk

> Store archives in a directory on the snapr host or a mounted Docker volume.

`type: local` writes the archive to a directory on the host, or to a mounted volume when snapr runs in Docker.

## Example

```yaml snapr.yaml theme={null}
storages:
  - type: local
    name: nas
    path: /mnt/nas/snapr
```

## Options

| Option           | Type    | Required | Default | Description                                                                                                           |
| ---------------- | ------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------- |
| `type`           | `local` | Yes      | —       |                                                                                                                       |
| `name`           | string  | Yes      | —       | Identifier; unique within the job.                                                                                    |
| `path`           | string  | Yes      | —       | Absolute path; must be writable by the snapr process.                                                                 |
| `includeJobName` | bool    | No       | `true`  | Append the job name under `path`; see [Storages](/configuration/storages/overview#skipping-the-per-job-subdirectory). |

## Retention and layout

Archives land in `<path>/<job-name>/` (or directly in `path` with `includeJobName: false`). The job's `retention.last` setting keeps the newest N snapshots in that directory and deletes the rest after each run. See [Storages → Retention](/configuration/storages/overview#retention).

## Related

* [Storages overview](/configuration/storages/overview)
* [Docker deployment](/deployment/docker) — mount the target directory into the container.
