import { TabsGroup, TabsItem } from "@/components/DocsTabs";

# File and Directory Locations

Here you'll find a listing of files and directories related to a typical
Firezone installation. These can change depending on how you've configured your
installation.

<TabsGroup>
<TabsItem title="Docker" active>

| Default path                                                                                                | Description                                                                                                               |
| ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `$HOME/.firezone/.env`                                                                                      | Firezone secrets used for encryption, cookies, and sessions. **Losing this file will result in irrecoverable data loss**. |
| `$HOME/.firezone/docker-compose.yml`                                                                        | Docker Compose file used to manage Firezone services.                                                                     |
| `$HOME/.firezone/firezone`                                                                                  | Top-level directory containing Firezone-related persisted data                                                            |
| `$HOME/.firezone/caddy`                                                                                     | Caddy persisted files.                                                                                                    |
| Default Docker named volume location, typically `/var/lib/docker/volumes/firezone_postgres-data` for Linux. | Postgres DB files.                                                                                                        |

</TabsItem>
<TabsItem title="Omnibus">

| Path                                                  | Description                                                                                    |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `/var/opt/firezone`                                   | Top-level directory containing data and generated configuration for Firezone bundled services. |
| `/opt/firezone`                                       | Top-level directory containing built libraries, binaries and runtime files needed by Firezone. |
| `/usr/bin/firezone-ctl`                               | `firezone-ctl` utility for managing your Firezone installation.                                |
| `/etc/systemd/system/firezone-runsvdir-start.service` | systemd unit file for starting the Firezone runsvdir supervisor process.                       |
| `/etc/firezone`                                       | Firezone configuration files.                                                                  |

</TabsItem>
</TabsGroup>

## Backup and restore

See our [backup guide](/docs/administer/backup).
