Skip to content

Releases: ep1cman/unifi-protect-backup

v0.8.4

09 Dec 11:28
Compare
Choose a tag to compare

Added

  • Logging of remaining upload queue size

Fixed

  • Uploading files were not accounted for when checking for missing events
  • Buffer size parameter is logged in human-readable format

v0.8.3

08 Dec 12:36
Compare
Choose a tag to compare

Added

  • Now logs timezone settings for both the host and NVR
  • Color logging is now optional and defaults to disabled (to match previous behaviour before v0.8.0)
  • Ability to configure download buffer size (bumped default up to 512MiB)
  • Event IDs to upload/download logging

Fixed

  • Log spam when lots of events are missing, this will now only occur if the logging level is set to EXTRA_DEBUG (-vv)
  • corrected logging not showing smart detection types
  • The application no longer stalls when a video is downloaded larger than the available buffer size
  • Ability to set the least verbose logging for the docker container

v0.8.2

05 Dec 15:13
Compare
Choose a tag to compare

Fixed

  • Fixed issue where command output was being returned with added indentation intended for logging only
  • Fixed issue where some command logging was not indented
  • Fixed issue where the tool could crash when run in a container if /config/database didn't exist

v0.8.1

04 Dec 12:21
Compare
Choose a tag to compare

version 0.8.0 was used by accident previously and PyPI would not accept it so bumping by one patch version

v0.8.0

03 Dec 22:55
Compare
Choose a tag to compare

Major internal refactoring. Each task is now its own class and asyncio task.

Added

  • A database of backed up events and where they are stored
  • A periodic check for missed events
    • This will also ensure past events before the tool was used are backed up, up until the retention period

Fixed

  • Pruning is no longer done based on file timestamps, the database is used instead. The tool will no longer delete files it didn't create.
  • Pruning now runs much more frequently (every minute) so retention periods of less than a day are now possible.

v0.7.4

21 Aug 20:03
Compare
Choose a tag to compare

No functional changes in this version. This is just to trigger the release CI.

Added

  • Arm docker container
  • rclone debugging instructions when using docker

Fixed

  • Documentation error in rclone config path of docker container.

v0.7.3

31 Jul 10:38
Compare
Choose a tag to compare

Fixed

  • Updated to the 4.0.0 version of pyunifiprotect
  • Added rust to the container, and bumped it to alpine 3.16

v0.7.1

09 Jun 09:10
Compare
Choose a tag to compare

Fixed

  • Updated to the latest version of pyunifiprotect to fix issues introduced in unifi protect 2.0.1
  • Updated documentation to include how to set up local user accounts on unifi protect

v0.7.0

26 Mar 16:32
Compare
Choose a tag to compare

Added

  • Added a the ability to change the way the clip files are structured via a template string.

Fixed

  • Fixed issue where event types without clips would attempt (and fail1) to download clips
  • Drastically reduced the size of the docker container
  • Fixed typos in the documentation
  • Some dev dependencies are now not installed as default

v0.6.0

18 Mar 21:42
Compare
Choose a tag to compare

Added

  • Support for doorbell ring events
  • detection_types parameter to limit which kinds of events are backed up

Fixed

  • Actually fixed timestamps this time.