DRP file email help
Hi, Slightly off topic - I've just taken over a TSM 5.3 W2K3 system and am very slowly getting to grips with it and as part of it I want to copy off the DR files everyday. The only way to do this is via Email. I'm using blat to several emails with attachments every morning. Eg :- blat test.txt -subject test -server x -r -log send.txt -to [EMAIL PROTECTED] -attach c:\program files\tivoli\tsm\server1\devcnfg.out This is fine with the static named files like devcnfg.out but how do I select the latest DRP file as an attachment. I'm think of somehow using the date to get the start of the file then copying to a static file and sending that but vbscript etc is not my strongest point!! Anyone doing this already or have any idea? TIA Gary This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Re: DRP file email help
ADSM: Dist Stor Manager ADSM-L@VM.MARIST.EDU wrote on 06/21/2006 08:10:11 AM: Hi, Slightly off topic - I've just taken over a TSM 5.3 W2K3 system and am very slowly getting to grips with it and as part of it I want to copy off the DR files everyday. The only way to do this is via Email. I'm using blat to several emails with attachments every morning. Eg :- blat test.txt -subject test -server x -r -log send.txt -to [EMAIL PROTECTED] -attach c:\program files\tivoli\tsm\server1\devcnfg.out This is fine with the static named files like devcnfg.out but how do I select the latest DRP file as an attachment. I'm think of somehow using the date to get the start of the file then copying to a static file and sending that but vbscript etc is not my strongest point!! Anyone doing this already or have any idea? Here is an example of what I've done before: blat c:\tsmdata\scripts\drm.txt -s TSM Disaster Recovery Files -attach c:\tsmdata\drm\planexpl.vbs -attach c:\tsmdata\drm\2* -t %EMAILADDR1% The file drm.txt actually contains the DR restore instructions so everything needed to recover the TSM server is in the email. There is another script which deletes all DR plan files in the c:\tsmdata\drm\ directory once per week (del 2*), usually on Sunday. So on Friday's email, there are most likely 5 DRM plan files attached to the email (Mon-Fri plans), on Monday there would only be one, Tuesday 2, etc. Then a rule is setup on the destination email client to automatically delete these emails older than a certain number of days (like 2-3 weeks) to keep the mailbox from filling up. __ John Monahan Consultant Infrastructure Solutions Computech Resources, Inc. Office: 952-833-0930 ext 109 Cell: 952-221-6938 http://www.computechresources.com
Re: DRP file email help
On Wed, 21 Jun 2006 10:22:11 -0500, John Monahan [EMAIL PROTECTED] said: ADSM: Dist Stor Manager ADSM-L@VM.MARIST.EDU wrote on 06/21/2006 08:10:11 AM: Hi, Slightly off topic - I've just taken over a TSM 5.3 W2K3 system and am very slowly getting to grips with it and as part of it I want to copy off the DR files everyday. The only way to do this is via Email. I'm using blat to several emails with attachments every morning. Eg :- blat test.txt -subject test -server x -r -log send.txt -to [EMAIL PROTECTED] -attach c:\program files\tivoli\tsm\server1\devcnfg.out This is fine with the static named files like devcnfg.out but how do I select the latest DRP file as an attachment. I'm think of somehow using the date to get the start of the file then copying to a static file and sending that but vbscript etc is not my strongest point!! Anyone doing this already or have any idea? Here is an example of what I've done before: blat c:\tsmdata\scripts\drm.txt -s TSM Disaster Recovery Files -attach c:\tsmdata\drm\planexpl.vbs -attach c:\tsmdata\drm\2* -t %EMAILADDR1% http://www.chiark.greenend.org.uk/~sgtatham/putty/ or other searches for putty. Good SSH implementation, excellent terminal emulation, SCP, well-maintained, open-source. If your organization demands that you pay lots of money for software, I'm sure Simon will be thrilled, but you don't have to. - Allen S. Rout