Quantcast
Viewing all articles
Browse latest Browse all 3189

Post-Exec script to create a new flag after successful backup

I am looking for a post-exec script or an example of a post-exec script to create a new flag file in the top level of the file system which shows file system has been backed up. This flag file should have the latest backup date.

The reason:

Sometimes it happens that admin add volumes (file systems) to servers without notifying the backup admin. Even though this should not happen it can happen, so there should be a way to ensure via a monitoring plug-in that all file systems that somebody might have added are in fact being backed up.

 

Then the monitoring system looks at the whole file system and checks whether this flag file exists in the uppermost level and if it has the latest date. If there will be no flag file, then the monitoring knows the file systems are not in back up list. There could be a file system blacklist which lists the files/file systems which should not be backed up so that it doesn’t alert the monitoring system.

 

Any suggestions would be greatly appreciated.


Viewing all articles
Browse latest Browse all 3189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>