Can anyone tell me how I can setup email notification when a backup
job completes using the Windows Backup Utility? I cant find a VBScript for
this
anywhere.
"K.H" <KH@discussions.microsoft.com> wrote in message
news:EC2C158F-73C9-4A00-8B2B-6243F19EEB2C@microsoft.com...
> Hi,
>
> Can anyone tell me how I can setup email notification when a backup
> job completes using the Windows Backup Utility? I cant find a VBScript for
> this
> anywhere.
>
> Thank you!
>
The simplest way would be to embed your backup command
into a three-line batch file like so:
@echo off
ntbackup.exe /.. /.. /..
blat.exe /.. /.. /..
You can download blat.exe from a number of sites. The same
can be achieved with a VB script but it will take about 30 lines
of code just for sending the notification.
What comes after the blat command?
blat.exe /.. /.. /..
"Pegasus (MVP)" wrote:
>
> "K.H" <KH@discussions.microsoft.com> wrote in message
> news:EC2C158F-73C9-4A00-8B2B-6243F19EEB2C@microsoft.com...
> > Hi,
> >
> > Can anyone tell me how I can setup email notification when a backup
> > job completes using the Windows Backup Utility? I cant find a VBScript for
> > this
> > anywhere.
> >
> > Thank you!
> >
>
> The simplest way would be to embed your backup command
> into a three-line batch file like so:
> @echo off
> ntbackup.exe /.. /.. /..
> blat.exe /.. /.. /..
>
> You can download blat.exe from a number of sites. The same
> can be achieved with a VB script but it will take about 30 lines
> of code just for sending the notification.
>
>
>
Type blat.exe at the Command Prompt to see the many
switches the command has. Standard stuff for a System
Administrator!
"K.H" <KH@discussions.microsoft.com> wrote in message
news:680C94A4-99EC-4A6E-9CCD-1E7869475A36@microsoft.com...
> Thanks for the info.
>
> What comes after the blat command?
> blat.exe /.. /.. /..
>
>
>
>
>
> "Pegasus (MVP)" wrote:
>
>>
>> "K.H" <KH@discussions.microsoft.com> wrote in message
>> news:EC2C158F-73C9-4A00-8B2B-6243F19EEB2C@microsoft.com...
>> > Hi,
>> >
>> > Can anyone tell me how I can setup email notification when a backup
>> > job completes using the Windows Backup Utility? I cant find a VBScript
>> > for
>> > this
>> > anywhere.
>> >
>> > Thank you!
>> >
>>
>> The simplest way would be to embed your backup command
>> into a three-line batch file like so:
>> @echo off
>> ntbackup.exe /.. /.. /..
>> blat.exe /.. /.. /..
>>
>> You can download blat.exe from a number of sites. The same
>> can be achieved with a VB script but it will take about 30 lines
>> of code just for sending the notification.
>>
>>
>>
I found an article that said to use this:
c:\blat\blat.exe "%lastf%" -t some@address.com -s "Backup Report" -mime
-server smtp.some.domain -f "some@senderaddress.com" -q
I extracted blat.. and copied the blat.exe to windows/system32 folder (like
the directions said to do)
In my batch file I pointed the path to blat.exe where i extracted the
files.. should the path be pointed to the system32 folder instead?
When I run this backup neither path makes the email send.
"Pegasus (MVP)" wrote:
>
> "K.H" <KH@discussions.microsoft.com> wrote in message
> news:EC2C158F-73C9-4A00-8B2B-6243F19EEB2C@microsoft.com...
> > Hi,
> >
> > Can anyone tell me how I can setup email notification when a backup
> > job completes using the Windows Backup Utility? I cant find a VBScript for
> > this
> > anywhere.
> >
> > Thank you!
> >
>
> The simplest way would be to embed your backup command
> into a three-line batch file like so:
> @echo off
> ntbackup.exe /.. /.. /..
> blat.exe /.. /.. /..
>
> You can download blat.exe from a number of sites. The same
> can be achieved with a VB script but it will take about 30 lines
> of code just for sending the notification.
>
>
>
I am getting a little confused. You post in a server newsgroup
but your questions sound more like those coming from a
user. Please clarify so that I can formulate my answers
accordingly.
"K.H" <KH@discussions.microsoft.com> wrote in message
news:4C3E7907-30FE-4049-A3F3-7798A655D134@microsoft.com...
>
> I found an article that said to use this:
> c:\blat\blat.exe "%lastf%" -t some@address.com -s "Backup Report" -mime
> -server smtp.some.domain -f "some@senderaddress.com" -q
>
> I extracted blat.. and copied the blat.exe to windows/system32 folder
> (like
> the directions said to do)
> In my batch file I pointed the path to blat.exe where i extracted the
> files.. should the path be pointed to the system32 folder instead?
>
> When I run this backup neither path makes the email send.
>
>
> "Pegasus (MVP)" wrote:
>
>>
>> "K.H" <KH@discussions.microsoft.com> wrote in message
>> news:EC2C158F-73C9-4A00-8B2B-6243F19EEB2C@microsoft.com...
>> > Hi,
>> >
>> > Can anyone tell me how I can setup email notification when a backup
>> > job completes using the Windows Backup Utility? I cant find a VBScript
>> > for
>> > this
>> > anywhere.
>> >
>> > Thank you!
>> >
>>
>> The simplest way would be to embed your backup command
>> into a three-line batch file like so:
>> @echo off
>> ntbackup.exe /.. /.. /..
>> blat.exe /.. /.. /..
>>
>> You can download blat.exe from a number of sites. The same
>> can be achieved with a VB script but it will take about 30 lines
>> of code just for sending the notification.
>>
>>
>>
Im sorry.. the directions for blast were not clear.
I will look for answers somewhere else.
Thank you for your time.
"Pegasus (MVP)" wrote:
> I am getting a little confused. You post in a server newsgroup
> but your questions sound more like those coming from a
> user. Please clarify so that I can formulate my answers
> accordingly.
>
>
> "K.H" <KH@discussions.microsoft.com> wrote in message
> news:4C3E7907-30FE-4049-A3F3-7798A655D134@microsoft.com...
> >
> > I found an article that said to use this:
> > c:\blat\blat.exe "%lastf%" -t some@address.com -s "Backup Report" -mime
> > -server smtp.some.domain -f "some@senderaddress.com" -q
> >
> > I extracted blat.. and copied the blat.exe to windows/system32 folder
> > (like
> > the directions said to do)
> > In my batch file I pointed the path to blat.exe where i extracted the
> > files.. should the path be pointed to the system32 folder instead?
> >
> > When I run this backup neither path makes the email send.
> >
> >
> > "Pegasus (MVP)" wrote:
> >
> >>
> >> "K.H" <KH@discussions.microsoft.com> wrote in message
> >> news:EC2C158F-73C9-4A00-8B2B-6243F19EEB2C@microsoft.com...
> >> > Hi,
> >> >
> >> > Can anyone tell me how I can setup email notification when a backup
> >> > job completes using the Windows Backup Utility? I cant find a VBScript
> >> > for
> >> > this
> >> > anywhere.
> >> >
> >> > Thank you!
> >> >
> >>
> >> The simplest way would be to embed your backup command
> >> into a three-line batch file like so:
> >> @echo off
> >> ntbackup.exe /.. /.. /..
> >> blat.exe /.. /.. /..
> >>
> >> You can download blat.exe from a number of sites. The same
> >> can be achieved with a VB script but it will take about 30 lines
> >> of code just for sending the notification.
> >>
> >>
> >>
>
>
>
No problem. When you do look for answers, get some
clarification on the concept of command execution and
the role of the %path% environmental variable. It is
central to your issue.
"K.H" <KH@discussions.microsoft.com> wrote in message
news:1778AF1B-E95B-4187-9C40-565740FF46A7@microsoft.com...
> Wow
>
> Im sorry.. the directions for blast were not clear.
>
> I will look for answers somewhere else.
>
> Thank you for your time.
>
>
> "Pegasus (MVP)" wrote:
>
>> I am getting a little confused. You post in a server newsgroup
>> but your questions sound more like those coming from a
>> user. Please clarify so that I can formulate my answers
>> accordingly.
>>
>>
>> "K.H" <KH@discussions.microsoft.com> wrote in message
>> news:4C3E7907-30FE-4049-A3F3-7798A655D134@microsoft.com...
>> >
>> > I found an article that said to use this:
>> > c:\blat\blat.exe "%lastf%" -t some@address.com -s "Backup Report" -mime
>> > -server smtp.some.domain -f "some@senderaddress.com" -q
>> >
>> > I extracted blat.. and copied the blat.exe to windows/system32 folder
>> > (like
>> > the directions said to do)
>> > In my batch file I pointed the path to blat.exe where i extracted the
>> > files.. should the path be pointed to the system32 folder instead?
>> >
>> > When I run this backup neither path makes the email send.
>> >
>> >
>> > "Pegasus (MVP)" wrote:
>> >
>> >>
>> >> "K.H" <KH@discussions.microsoft.com> wrote in message
>> >> news:EC2C158F-73C9-4A00-8B2B-6243F19EEB2C@microsoft.com...
>> >> > Hi,
>> >> >
>> >> > Can anyone tell me how I can setup email notification when a backup
>> >> > job completes using the Windows Backup Utility? I cant find a
>> >> > VBScript
>> >> > for
>> >> > this
>> >> > anywhere.
>> >> >
>> >> > Thank you!
>> >> >
>> >>
>> >> The simplest way would be to embed your backup command
>> >> into a three-line batch file like so:
>> >> @echo off
>> >> ntbackup.exe /.. /.. /..
>> >> blat.exe /.. /.. /..
>> >>
>> >> You can download blat.exe from a number of sites. The same
>> >> can be achieved with a VB script but it will take about 30 lines
>> >> of code just for sending the notification.
>> >>
>> >>
>> >>
>>
>>
>>
"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:OMmPiYUzHHA.4712@TK2MSFTNGP04.phx.gbl...
> No problem. When you do look for answers, get some
> clarification on the concept of command execution and
> the role of the %path% environmental variable. It is
> central to your issue.
>
>
> "K.H" <KH@discussions.microsoft.com> wrote in message
> news:1778AF1B-E95B-4187-9C40-565740FF46A7@microsoft.com...
>> Wow
>>
>> Im sorry.. the directions for blast were not clear.
>>
>> I will look for answers somewhere else.
>>
>> Thank you for your time.
>>
>>
>> "Pegasus (MVP)" wrote:
>>
>>> I am getting a little confused. You post in a server newsgroup
>>> but your questions sound more like those coming from a
>>> user. Please clarify so that I can formulate my answers
>>> accordingly.
>>>
>>>
>>> "K.H" <KH@discussions.microsoft.com> wrote in message
>>> news:4C3E7907-30FE-4049-A3F3-7798A655D134@microsoft.com...
>>> >
>>> > I found an article that said to use this:
>>> > c:\blat\blat.exe "%lastf%" -t some@address.com -s "Backup
>>> > Report" -mime
>>> > -server smtp.some.domain -f "some@senderaddress.com" -q
>>> >
>>> > I extracted blat.. and copied the blat.exe to windows/system32 folder
>>> > (like
>>> > the directions said to do)
>>> > In my batch file I pointed the path to blat.exe where i extracted the
>>> > files.. should the path be pointed to the system32 folder instead?
>>> >
>>> > When I run this backup neither path makes the email send.
>>> >
>>> >
>>> > "Pegasus (MVP)" wrote:
>>> >
>>> >>
>>> >> "K.H" <KH@discussions.microsoft.com> wrote in message
>>> >> news:EC2C158F-73C9-4A00-8B2B-6243F19EEB2C@microsoft.com...
>>> >> > Hi,
>>> >> >
>>> >> > Can anyone tell me how I can setup email notification when a backup
>>> >> > job completes using the Windows Backup Utility? I cant find a
>>> >> > VBScript
>>> >> > for
>>> >> > this
>>> >> > anywhere.
>>> >> >
>>> >> > Thank you!
>>> >> >
>>> >>
>>> >> The simplest way would be to embed your backup command
>>> >> into a three-line batch file like so:
>>> >> @echo off
>>> >> ntbackup.exe /.. /.. /..
>>> >> blat.exe /.. /.. /..
>>> >>
>>> >> You can download blat.exe from a number of sites. The same
>>> >> can be achieved with a VB script but it will take about 30 lines
>>> >> of code just for sending the notification.
>>> >>
>>> >>
>>> >>
>>>
>>>
>>>
>
>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.