From ce2993624fcc4f14f2892de4767a8b57db2762b2 Mon Sep 17 00:00:00 2001 From: Sebastian Goscik Date: Wed, 9 Apr 2025 02:12:52 +0100 Subject: [PATCH] Correct CAMERAS envvar --- unifi_protect_backup/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unifi_protect_backup/cli.py b/unifi_protect_backup/cli.py index b6d9cdc..08283f0 100644 --- a/unifi_protect_backup/cli.py +++ b/unifi_protect_backup/cli.py @@ -113,7 +113,7 @@ def parse_rclone_retention(ctx, param, retention) -> relativedelta: "--camera", "cameras", multiple=True, - envvar="ONLY_CAMERAS", + envvar="CAMERAS", help="IDs of *ONLY* cameras for which events should be backed up. Use multiple times to include " "multiple IDs. If being set as an environment variable the IDs should be separated by whitespace. " "Alternatively, use a Unifi user with a role which has access restricted to the subset of cameras "