ep1cman / unifi-protect-backup

Python tool to backup unifi event clips in realtime
MIT License
577 stars 25 forks source link

Backup past and missed clips manually? #53

Closed florianmueller closed 1 year ago

florianmueller commented 1 year ago

Is there a way to run the script manually to backup all past video clips that have not been backuped yet?

Use case:

Thank you, that would be great! Otherwise, great work and tool! Thank you!

ep1cman commented 1 year ago

As it stands, no this tool cannot do that. It currently isnt really setup to that robust, it just makes a best effort attempt. #49 already lays out some of what youve mentioned. Sadly my free time is somewhat lacking at the moment due to getting a puppy, but this is something I plan on improving in the future.

You can use the following tool to do a full backup of the existing videos: https://github.com/danielfernau/unifi-protect-video-downloader

florianmueller commented 1 year ago

Thanks a lot, that tool was a great suggestion, got my footage in no time :) No worries, great job on the current status of the tool, saves my footage perfectly to Dropbox on any event.

ep1cman commented 1 year ago

Hi,

Thank you for your patience. This feature is now implemented in the latest update. The tool now ensures all events within the retention window are backed up, even if they occurred before it was first run.