Yep that’s the one. If you can make a cron job to make the zip file, logrotate could handle keeping the last x files.
It might sound complicated, but the cool thing about *nix environments is that everything is made up of a combo of little tools. You can learn one at a time and slowly build something super complicated over time. First thing would be figuring out the right set of commands to make a zip file from the directory I reckon. Then add that to cron so it happens every day. Then add logrotate into the mix and have that do its thing every day after the backup runs.
Yep just to tack onto this, I find their stuff is fairly easy to stack together as well. Have ended up building my entire home network and security setup with Ubiquiti gear, there’s a good Home Assistant integration if you’re into that.