|The idea is; will delete at least a week or two which will keep the data <80% of the total capacity.|
example, if the capacity is 3TB: 80% = 2.4TB, 20%=0.6TB
a line to check the free space;
if free space < 0.6TB,
we will delete the data earlier 7 days or 14 days of data.