Is there a parameter to save how many "old" backups?

Hello,
in my nextCloud there is a long history, since 2017.
I take backups on the console by “sudo -u www-data php updater.phar”
The script is working fine the “last years”, but it save ALL backups (Folders) with many megabytes “stuff”

show in :
/var/www/nextcloud/data/updater-*************/backups/
nextcloud-18.0.1.3 nextcloud-18.0.3.0 nextcloud-18.0.4.2 nextcloud-18.0.6.0 nextcloud-18.0.7.1 nextcloud-19.0.1.1 nextcloud-19.0.2.2

is there a parameter to save only the last “nextCloud backup” ?