#how-to check the backup logs
#define where are stored the log files of the backup scripts
export sysmgr_logs_dir=/nz/kit/log/sysmgr
#how-to check the latest log files from the backups
find $sysmgr_logs_dir -type f -mtime -10 -exec ls -al --time-style long-iso {} \; | \
perl -lne 'split /\s+/; print "$_[5] $_[6] $_[7]"' | sort -r
# how-to check for the exact errors from the backup logs
find $sysmgr_logs_dir -mtime -10 -exec grep -nHi 'error' {} \;
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!