Dears,
I'm developing a system backup of physical servers database and Linux operating system. ShellScripts have 3, one for backup (tar), one for monitoring and one for purge.
Do these backup in a system of Dell DR4100 for NFS, backup scripts is fully dynamic and can put on any server that already backs up and causes the place and the DR / NFS also log.
I need to keep 4 types of backups daily, weekly, monthly and annual
For daily backup always have to keep records and purge the 6 from the previous week, for example a daily backup from Tuesday will only remove next Tuesday after the completion of the backup, since I have to keep the weekly and 5 records deregister previous eg weekly backup of the first week I will only remove after completion of the first weekly backup of next week and so on ... but I have some rules, every Saturday is weekly, every last day of the month is monthly, last day of the year is annual and is always remaining daily, this rule did already using functions in shell only for backup, but I can not do the monitoring.
I'm asking for help from you guys to know how do a monitoring system where the shell checks these rules?
Sorry for the garbled English ...
Thank you for now