You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am currently backing up using rsync method. I have set the $KEEP_BACKUPS to =30 however, I can see that more than 30 backups are getting retained and it is taking up my disk space.
I have evaluated the .sh files and realised that the cleanup_old_archives function only has no_op instruction within.
How can I write the function such that it only keeps my specified number of backups I want.