Re: Simple way to email nightly backup log?



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)

.



Relevant Pages

  • Re: file backup in windows
    ... I want my script to identigy the user ... logged in and go to the resp outlook folder or should be able to read ... operating system to try a few sample commands at the command line. ...
    (comp.lang.python)
  • Re: Need some small help on shell script - delete old files
    ... the grep are then sent to xargs to issue the rm command. ... gzip of $FILENAME at the end is not necessary as far as I can tell ...  Could this possibly be from this script? ... Also not sure why the qzip did not run on last night's backup. ...
    (comp.unix.shell)
  • RE: Backup - Media Failed to mount
    ... the SBS backup wizard showing itself but not really enabling compression. ... file SBS backup uses to initiate the encrypted script it uses. ...
    (microsoft.public.windows.server.sbs)
  • Re: backup script directory errors fixed, now it cant find the eof
    ... I run the script and it finds a premature end of file on line 53? ... The:command not founde 21,30,31 are just blank lines. ... # full and incremental backup script ... # The rest of the time an incremental backup is made. ...
    (comp.unix.shell)
  • Re: Simple way to email nightly backup log?
    ... Doing a Google for "email from command line" brings up a few ... The issue is SBS specific - as SBS will rename the log file each time it ... Using my script from above I get the nightly backup logs on every server ... Calling an illegal alien an "undocumented worker" is like calling a ...
    (microsoft.public.windows.server.sbs)