
Once we have automated a VPS server backup, it is unavoidable the fact that we will have to delete older files after a certain number of days. To avoid deleting them manually (which means connecting to the server, which can become tiresome), one line can be written in one of the scripts you use for the backup. The line is actually a find command with some advanced options: find /mnt/directory/ ...