Jump to content

NT Backup steps


Recommended Posts

Guest David C
Posted

I have a Windows 2003 server that I run an offsite backup. If the offsite

connection is not available I would like to run a 2nd step (like in SQL

Server) that only runs if the 1st step fails. Is this possible, and if so

how? Can I run something that tests for a connection? Thanks.

 

David

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: NT Backup steps

 

 

"David C" <dlchase@lifetimeinc.com> wrote in message

news:O%23PKex%23HIHA.3400@TK2MSFTNGP03.phx.gbl...

>I have a Windows 2003 server that I run an offsite backup. If the offsite

>connection is not available I would like to run a 2nd step (like in SQL

>Server) that only runs if the 1st step fails. Is this possible, and if so

>how? Can I run something that tests for a connection? Thanks.

>

> David

 

You can use the humble ping command to test for a live

connection:

 

@echo off

ping RemoteServer | find /i "bytes=" && goto Connected

 

:NotConnected

[your commands go here]

goto :eof

 

:Connected

[your commands go here]

goto :eof


×
×
  • Create New...