Two days ago, I migrated all my image data. The earliest images were from June 2024 and it all showed correctly in the folders (2024/06, 07, etc., 2025/01). I confirmed everything was showing correctly in the program so went along and removed the Base64 data.
This morning I woke up to find that all images prior to 12/1/2024 are deleted.
I figured out why it happened - there's a new setting for image retention which is set to 3 (months). First, the setting can't be changed (it says, 'Saved' but it refreshes back to 3.) and second, that's not actually 3 months of images. It's all of 12/2024, all of 1/2025, but only 1 day of 2/2025. It really should still have most/all of 11/2024. I've added both bugs to the roadmap/tracker.
That aside, I'm now faced with a ton of missing images. I was intending to keep at least a year (or more) of plates. They don't appear in my recycle bin, so that's not an option. I do regular PC backups but the latest backup was this morning at 3:45, so after the deletion. And the other was just before I did the update and database migration on 1/30.
At this point, my best option seems to be to go to the backup before and just lose the plates from the last couple of days. I don't really want to restore the whole PC so does anyone know how to do a partial restore of just Docker? Specifically, where is Docker stored? What files constitute Docker? I didn't do any backups of containers with Docker but I'm fine with just wiping it completely back to the state of a couple days ago. Anyone know how to do that?
Edit: I think the answer is
C:/Users/<username>/AppData/Local/Docker/wsl/disk/docker_data.vhdx
I'm in the process of restoring this right now.
Edit 2: That did put Docker back to the state on 1/30. I manually updated
config/settings.xml to increase the retention period and then pulled the latest and reran the migration. I have all my images back (except for about 24 hours). Since, I have copies of that data from my notifications, I can manually call the API to restore the license plate reads. I highly recommend people update their image retention setting (manually) if they don't want to lose images. And always have a backup strategy in place before you need it.