Backup limit file

how to set backup daily to keep only backup 10 days ?
as far i can see… if we set daily then the backup will create everyday until no space left