1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

NTBackup

Discussion in 'Windows Home Server' started by Nick Jax, Aug 12, 2009.

  1. Nick Jax

    Nick Jax Guest

    Hello All..

    We are using NTBackup on a small Windows 2003 Server.

    My question is this: when setting up the "backup description" and "if the
    media is overwritten" fields, is there a way to use a variable for the date
    and time (just the date without the time would work fine too).

    Any help would be great!
     
  2. "Nick Jax" <nickjax01@hotmail.com> wrote in message
    news:Owp0mJ1GKHA.4620@TK2MSFTNGP02.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Hello All..
    >
    > We are using NTBackup on a small Windows 2003 Server.
    >
    > My question is this: when setting up the "backup description" and "if the
    > media is overwritten" fields, is there a way to use a variable for the
    > date
    > and time (just the date without the time would work fine too).
    >
    > Any help would be great!<!--colorc--><!--/colorc-->

    You can turn any parameter into a variable by following these steps:
    1. Use ntbackup's GUI to create a backup job that will execute some time in
    the future.
    2. Open the Task Scheduler, then the backup job you just created.
    3. Copy the command line you see into your own batch file.
    4. Modify the various parameters any way you like, e.g. by replacing them
    with date/time variables.
    5. Use the Task Scheduler to schedule your batch file instead of the
    original backup job.
     
  3. Nick Jax

    Nick Jax Guest

    Thanks!
    "Pegasus [MVP]" <news@microsoft.com> wrote in message
    news:uDULGP2GKHA.1252@TK2MSFTNGP04.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    >
    > "Nick Jax" <nickjax01@hotmail.com> wrote in message
    > news:Owp0mJ1GKHA.4620@TK2MSFTNGP02.phx.gbl...<!--coloro:green--><span style="color:green <!--/coloro-->
    > > Hello All..
    > >
    > > We are using NTBackup on a small Windows 2003 Server.
    > >
    > > My question is this: when setting up the "backup description" and "if<!--colorc--><!--/colorc--><!--colorc--><!--/colorc-->
    the<!--coloro:blue--><span style="color:blue <!--/coloro--><!--coloro:green--><span style="color:green <!--/coloro-->
    > > media is overwritten" fields, is there a way to use a variable for the
    > > date
    > > and time (just the date without the time would work fine too).
    > >
    > > Any help would be great!<!--colorc--><!--/colorc-->
    >
    > You can turn any parameter into a variable by following these steps:
    > 1. Use ntbackup's GUI to create a backup job that will execute some time<!--colorc--><!--/colorc-->
    in<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > the future.
    > 2. Open the Task Scheduler, then the backup job you just created.
    > 3. Copy the command line you see into your own batch file.
    > 4. Modify the various parameters any way you like, e.g. by replacing them
    > with date/time variables.
    > 5. Use the Task Scheduler to schedule your batch file instead of the
    > original backup job.
    >
    ><!--colorc--><!--/colorc-->
     
  4. "Nick Jax" <nickjax01@hotmail.com> wrote in message
    news:e8c7SPBHKHA.4416@TK2MSFTNGP04.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Thanks!<!--colorc--><!--/colorc-->

    You're welcome.
     
  5. Nick Jax

    Nick Jax Guest

    I tried what you suggested, but it isnt working (unless I am doing something
    wrong which is a possibility!)

    I changed the description to %date% and rather than giving me the current
    date, it just shows %date% .

    Any suggestions?
    "Pegasus [MVP]" <news@microsoft.com> wrote in message
    news:OaCKYcCHKHA.4608@TK2MSFTNGP02.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    >
    > "Nick Jax" <nickjax01@hotmail.com> wrote in message
    > news:e8c7SPBHKHA.4416@TK2MSFTNGP04.phx.gbl...<!--coloro:green--><span style="color:green <!--/coloro-->
    > > Thanks!<!--colorc--><!--/colorc-->
    >
    > You're welcome.
    >
    ><!--colorc--><!--/colorc-->
     
  6. Let's have a look at the whole batch file!

    "Nick Jax" <nickjax01@hotmail.com> wrote in message
    news:eBDEAnEHKHA.3000@TK2MSFTNGP04.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    >I tried what you suggested, but it isnt working (unless I am doing
    >something
    > wrong which is a possibility!)
    >
    > I changed the description to %date% and rather than giving me the current
    > date, it just shows %date% .
    >
    > Any suggestions?
    > "Pegasus [MVP]" <news@microsoft.com> wrote in message
    > news:OaCKYcCHKHA.4608@TK2MSFTNGP02.phx.gbl...<!--coloro:green--><span style="color:green <!--/coloro-->
    >>
    >> "Nick Jax" <nickjax01@hotmail.com> wrote in message
    >> news:e8c7SPBHKHA.4416@TK2MSFTNGP04.phx.gbl...<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    >> > Thanks!<!--colorc--><!--/colorc-->
    >>
    >> You're welcome.
    >>
    >><!--colorc--><!--/colorc-->
    >
    > <!--colorc--><!--/colorc-->
     
  7. Nick Jax

    Nick Jax Guest

    After looking at the file again,...I found the problem! Thank you anyway!!

    "Pegasus [MVP]" <news@microsoft.com> wrote in message
    news:OFGCiwEHKHA.4004@TK2MSFTNGP05.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Let's have a look at the whole batch file!
    >
    > "Nick Jax" <nickjax01@hotmail.com> wrote in message
    > news:eBDEAnEHKHA.3000@TK2MSFTNGP04.phx.gbl...<!--coloro:green--><span style="color:green <!--/coloro-->
    > >I tried what you suggested, but it isnt working (unless I am doing
    > >something
    > > wrong which is a possibility!)
    > >
    > > I changed the description to %date% and rather than giving me the<!--colorc--><!--/colorc--><!--colorc--><!--/colorc-->
    current<!--coloro:blue--><span style="color:blue <!--/coloro--><!--coloro:green--><span style="color:green <!--/coloro-->
    > > date, it just shows %date% .
    > >
    > > Any suggestions?
    > > "Pegasus [MVP]" <news@microsoft.com> wrote in message
    > > news:OaCKYcCHKHA.4608@TK2MSFTNGP02.phx.gbl...<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > >>
    > >> "Nick Jax" <nickjax01@hotmail.com> wrote in message
    > >> news:e8c7SPBHKHA.4416@TK2MSFTNGP04.phx.gbl...
    > >> > Thanks!
    > >>
    > >> You're welcome.
    > >>
    > >><!--colorc--><!--/colorc-->
    > >
    > ><!--colorc--><!--/colorc-->
    >
    ><!--colorc--><!--/colorc-->
     
  8. "Nick Jax" <nickjax01@hotmail.com> wrote in message
    news:OMl8TazHKHA.5256@TK2MSFTNGP05.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > After looking at the file again,...I found the problem! Thank you anyway!!<!--colorc--><!--/colorc-->

    Thanks for the feedback. Now you know why I never offer a response unless I
    can see the batch/script file with my own eyes. I learnt this the hard way
    round . . .
     

Share This Page