mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 22:57:40 +03:00
docs
This commit is contained in:
parent
9cdbf2efff
commit
6106ae7458
@ -162,6 +162,8 @@ Normal operation may leave small numbers of orphaned files until Frigate's sched
|
|||||||
|
|
||||||
The Maintenance pane in the Frigate UI or an API endpoint `POST /api/media/sync` can be used to trigger a media sync. When using the API, a job ID is returned and the operation continues on the server. Status can be checked with the `/api/media/sync/status/{job_id}` endpoint.
|
The Maintenance pane in the Frigate UI or an API endpoint `POST /api/media/sync` can be used to trigger a media sync. When using the API, a job ID is returned and the operation continues on the server. Status can be checked with the `/api/media/sync/status/{job_id}` endpoint.
|
||||||
|
|
||||||
|
Setting `verbose: true` writes a detailed report of every orphaned file and database entry to `/config/media_sync/<job_id>.txt`. For recordings, the report separates orphaned database entries (DB records whose files are missing from disk) from orphaned files (files on disk with no corresponding database record).
|
||||||
|
|
||||||
:::warning
|
:::warning
|
||||||
|
|
||||||
This operation uses considerable CPU resources and includes a safety threshold that aborts if more than 50% of files would be deleted. Only run when necessary. If you set `force: true` the safety threshold will be bypassed; do not use `force` unless you are certain the deletions are intended.
|
This operation uses considerable CPU resources and includes a safety threshold that aborts if more than 50% of files would be deleted. Only run when necessary. If you set `force: true` the safety threshold will be bypassed; do not use `force` unless you are certain the deletions are intended.
|
||||||
|
|||||||
5
docs/static/frigate-api.yaml
vendored
5
docs/static/frigate-api.yaml
vendored
@ -6891,6 +6891,11 @@ components:
|
|||||||
title: Force
|
title: Force
|
||||||
description: "If True, bypass safety threshold checks"
|
description: "If True, bypass safety threshold checks"
|
||||||
default: false
|
default: false
|
||||||
|
verbose:
|
||||||
|
type: boolean
|
||||||
|
title: Verbose
|
||||||
|
description: "If True, write full orphan file list to /config/media_sync/<job_id>.txt"
|
||||||
|
default: false
|
||||||
type: object
|
type: object
|
||||||
title: MediaSyncBody
|
title: MediaSyncBody
|
||||||
MotionSearchMetricsResponse:
|
MotionSearchMetricsResponse:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user