Prune settings for just keeping 30 days

I’m backing up our TrueNAS production server which has around 50TB of data in it, we backup daily. I’d like to setup the retention to just keep 30 days worth. Can I just set it to what I’ve put in the attached pic?

This wouldn’t work, because -keep 0:0 is not a valid policy. You can change all 0s to 1s: -keep 1:1 means keeping one backup each day if it is older than 1 day.

Hey, thanks for the quick reply!

So if I did 1:1 on the policy, and set the Deletion to 30 days that would work right?

You can put to that dialog any random numbers, just to get past it, and have the schedule created. All those flags do is add a bunch of -keep parameters as prune command options.

Then click on the options on the newly created prune schedule and adjust them to your liking. You want a single -keep 0:30 to only keep 30 days worth of history.