Hi Howard, Sure. Thought about that...it is just a test for now, but when going into production I´ll do that.
Thanks Mario ________________________________ From: Howard Coles <[email protected]> To: [email protected] Sent: Tue, March 1, 2011 2:00:16 PM Subject: Re: altering dsm.sys right before dsmc It should if the virtualm exists when the dsmc command is run, but you're going to have one of the longest dsm.sys files after a while. You may want to include something in your script that deletes previous virtual mount point entries so that doesn't happen. See Ya' Howard Coles Jr., RHCE, CNE, CDE John 3:16! -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[email protected]] On Behalf Of Mario Behring Sent: Tuesday, March 01, 2011 9:46 AM To: [email protected] Subject: [ADSM-L] altering dsm.sys right before dsmc 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
