Commit 2f7d1a21 authored by bnachtw's avatar bnachtw
Browse files

added script for backing up DRM data to monitor/GNZ

parent 17d86a44
#! /bin/bash
today=$(date "+%F")
/opt/tivoli/tsm/client/ba/bin/dsmc i > /tsmshare/gitlab/TSM-Scripts/log/$today.monitor.outlog
mv /tsmshare/gitlab/TSM-Scripts/log/monitor.errlog /tsmshare/gitlab/TSM-Scripts/log/$today.monitor.errlog
find /tsmshare/gitlab/TSM-Scripts/log -name "*monitor*log" -mtime +30 -exec rm -f {} \;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment