ADSM-L

[ADSM-L] altering dsm.sys right before dsmc

2011-03-01 10:46:33
Subject: [ADSM-L] altering dsm.sys right before dsmc
From: Mario Behring <mariobehring AT YAHOO DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 1 Mar 2011 07:45:37 -0800
Hi all,

I have to configure a virtualmountpoint option before some backups. The
directory name, part of it, is formed by a date...and I will have to append this
line in the dsm.sys file everytime I perform this particular backup.

Here is the script...the TSM Clent is Red Hat...

export ARCHLOG=`date +%d%m%y_backuptape.log`
export DATA=`date --date='1 day ago' +%d%m%y2200`

echo virtualm=/backup/rman/full/$DATA >> /opt/tivoli/tsm/client/ba/bin/dsm.sys
/opt/tivoli/tsm/client/ba/bin/dsmc i -subdir=yes
-domain="/backup/rman/full/$DATA/*" >> /backup/tsmlogs/$ARCHLOG



....my question is, is it going to work? I mean, can I actually alter the
dsm.sys file and then run the dsmc command immediately after doing
it?....usually, dsm always checks filespaces before sendin data to the TSM
Server.


Regards,
Mario

<Prev in Thread] Current Thread [Next in Thread>