[RESOLVED] Running Ntbackup from Batch file ?
Results 1 to 6 of 6

Thread: [RESOLVED] Running Ntbackup from Batch file ?

  1. #1
    chaucer
    Guest

    Resolved [RESOLVED] Running Ntbackup from Batch file ?

    I have a batch file running each night
    using the "at" command.

    The batch contains three lines:
    ntbackup backup c:\ /v /b
    ntbackup backup y:\ /v
    ntbackup eject

    It backup c: then replaces it with
    y:

    could someone help me rewrite my batch file
    so it backups both drives, each night.

    Cheers,
    Steve Audus
    Network Manager

    ------------------
    Posted by Network Manager or Technician from Chaucer Community School, Sheffield, UK.
    Thank You for your help

  2. #2
    Registered User xsrvx's Avatar
    Join Date
    Jun 2000
    Location
    Richardson,TX 75081
    Posts
    278

    Post

    More than likely if you include the second drive on the same line the problem will go away.

    ntbackup backup c:\ y:\ /v /b

    I don't know for a fact so if anyone has anything more to add please feel free.


  3. #3
    chaucer
    Guest

    Post

    Thanks for the suggestion but I have tryed that it still does not backup both drives.

    Help.....!!!

    ------------------
    Posted by Network Manager or Technician from Chaucer Community School, Sheffield, UK.
    Thank You for your help

  4. #4
    Registered User
    Join Date
    Jun 2000
    Location
    Haywards Heath, Sussex, UK
    Posts
    123

    Post

    Sounds to me like you just need to add the append switch to the second ntbackup command

    /a


    Martin
    <a href="mailto:[email protected]" target="_blank">[email protected]</a>

  5. #5
    chaucer
    Guest

    Thumbs up

    isn't /a append
    so doesn't there have to be a backup of
    c: and y: on the tape already?

    Cheers for you help


    ------------------
    Posted by Network Manager or Technician from Chaucer Community School, Sheffield, UK.
    Thank You for your help

  6. #6
    Registered User
    Join Date
    Jun 2000
    Location
    Haywards Heath, Sussex, UK
    Posts
    123

    Post

    If you go to the 'Command Prompt' and type 'ntbackup /?' it will give you a list of available options.

    /a says it will apend to a backup set already on the tape and not overwrite it.

    Try it ... What have you got to loose as you already don't have a backup of C:.

    Good luck

    Martin

    [This message has been edited by Tech Head (edited March 15, 2001).]
    <a href="mailto:[email protected]" target="_blank">[email protected]</a>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •