Hi Mario,
   far back into 1998, when the nowadays TSM was called ADSM, I had a
similar problem and asked the list by the following message:

http://www.adsm.org/lists/html/ADSM-L/1998-05/msg00510.html

I can't remember who pointed me to the right syntax to
solve it via the following line in dsm.sys

        VIRTUALMountpoint       $(USERDIR)

whereby the "USERDIR"-environment-variable was set before dsmc was called.

Being retired now, I can't prove, wether this functionality is still
available, but I guess it will be there.

Hope this helps,
Peter




On Tue, 1 Mar 2011, Mario Behring wrote:

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

Reply via email to