Re: Simple way to email nightly backup log?
- From: "Cliff Galiher" <cgaliher@xxxxxxxxx>
- Date: Tue, 6 May 2008 01:19:49 -0600
If you are willing to "upgrade" to powershell, I think I have a script that will get what you want.
-Cliff
"Leythos" <void@xxxxxxxxxxx> wrote in message news:MPG.2288e6de7f3cb11b9897ac@xxxxxxxxxxxxxxxxxxxx
In article <#nEl33arIHA.1436@xxxxxxxxxxxxxxxxxxxx>, "Brian Cryer"
<www.cryer.co.uk> says...
Presumably what you are after is a command line "sendmail" (but a Windows
equivalent). Doing a Google for "email from command line" brings up a few
hits on the first page which look like they might do what you want - some
free, some not. If you are after a command line equivalent of sendmail and
none of those solutions does what you want then drop me an email to confirm
your requirements because on the face of it I'm sure I could write a short
utility to your requirements (nil cost).
I already have a exe that will email files/subject/user and from, from
the command line.
The issue is SBS specific - as SBS will rename the log file each time it
runs a new backup.
Using my script from above I get the nightly backup logs on every server
where I use NTBackup manually, even on SBS, but I wanted to keep using
the nice/pretty Wizard and Status page that non-technical users see the
backup status for the last 10 backups - and I wanted to not mess with
the SBS scheme.
What I need is a Batch File method to get the most recent file name so
that I can use it in my script.
--
- Igitur qui desiderat pacem, praeparet bellum.
- Calling an illegal alien an "undocumented worker" is like calling a
drug dealer an "unlicensed pharmacist"
spam999free@xxxxxxxxxx (remove 999 for proper email address)
.
- Follow-Ups:
- Re: Simple way to email nightly backup log?
- From: Leythos
- Re: Simple way to email nightly backup log?
- References:
- Simple way to email nightly backup log?
- From: Leythos
- Re: Simple way to email nightly backup log?
- From: Brian Cryer
- Re: Simple way to email nightly backup log?
- From: Leythos
- Simple way to email nightly backup log?
- Prev by Date: Re: Computers Return from the Dead
- Next by Date: Re: Strange Outlook Mobile Things Happening
- Previous by thread: Re: Simple way to email nightly backup log?
- Next by thread: Re: Simple way to email nightly backup log?
- Index(es):
Relevant Pages
|