2023-06-30 21:13:08 -06:00
---
id : ha_network_storage
2026-11-02 11:45:59 -07:00
title : Home Assistant storage
2023-06-30 21:13:08 -06:00
---
2026-11-02 11:45:59 -07:00
Frigate's media (`/media/frigate` ) can be stored on a network share or a separate local disk (internal or USB) instead of the Home Assistant system disk.
2023-06-30 21:13:08 -06:00
2026-11-02 11:45:59 -07:00
## Prerequisites
2023-06-30 21:13:08 -06:00
2026-11-02 11:45:59 -07:00
### Network storage
2023-06-30 21:13:08 -06:00
2025-03-24 11:05:59 -03:00
- Home Assistant 2023.6 or newer is installed
- Running Home Assistant Operating System 10.2 or newer OR Running Supervised with latest os-agent installed (this is required for supervised install)
2023-06-30 21:13:08 -06:00
2026-11-02 11:45:59 -07:00
### Local disk
- Home Assistant 2026.11 or newer is installed
- The disk is already formatted, ideally as ext4 (Home Assistant does not format disks). Avoid FAT32, exFAT, and NTFS, which do not support Linux file permissions.
## Setting Up Storage For Frigate
2023-06-30 21:13:08 -06:00
### Initial Setup
2026-03-05 17:20:02 -06:00
1. Stop the Frigate App
2023-06-30 21:13:08 -06:00
### Move current data
2026-11-02 11:45:59 -07:00
Keeping the current data is optional, but `/media/frigate` must be moved or deleted so Home Assistant can mount the storage there. The database and config are stored elsewhere and are not affected.
2023-06-30 21:13:08 -06:00
#### If you want to keep the current data
2026-11-02 11:45:59 -07:00
1. Rename the /media/frigate folder to /media/frigate_tmp
2023-06-30 21:13:08 -06:00
#### If you don't want to keep the current data
1. Delete the /media/frigate folder and all of its contents
2026-11-02 11:45:59 -07:00
### Add the storage
2023-06-30 21:13:08 -06:00
2026-11-02 11:45:59 -07:00
1. Go to **Settings -> System -> Storage -> Add storage**
2. Name the storage `frigate` (this is required)
3. Choose usage `media`
4. Choose the type:
- For network storage, choose `Samba/Windows (CIFS)` or `Network File System (NFS)` and fill out the additional required info for your particular NAS
- For a local disk, choose `Local disk` and select the disk to use
2023-06-30 21:13:08 -06:00
5. Connect
6. Move files from `/media/frigate_tmp` to `/media/frigate` if they were kept in previous step
2026-03-05 17:20:02 -06:00
7. Start the Frigate App