Post

UniFi Protect Backup

Backs up UniFi Protect motion and smart-detection event clips to local or rclone-supported off-site storage in real time.

UniFi Protect Backup
In Development
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.

Installation

Default install:

1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/DevScripts/main/ct/unifi-protect-backup.sh)"
CPU: 1 cores RAM: 1024 MB Disk: 4 GB OS: Debian 13

Notes

Create a dedicated local UniFi Protect user with access to the cameras before installation.
The initial configuration stores clips locally. Configure an rclone remote and update RCLONE_DESTINATION in /opt/unifi-protect-backup/.env for off-site storage.
The default container disk is 4 GB. Select Advanced Install to choose a larger disk when retaining clips locally.

Source code
Loading...