[RESOLVED] NTbackup batch file
Results 1 to 13 of 13

Thread: [RESOLVED] NTbackup batch file

  1. #1
    chaucer
    Guest

    Question NTbackup batch file

    I have a batch file, that runs each night
    it contains three lines:

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

    It backups c: then replaces it with y:
    how do I get it to backup both drives, daily.

    I have tryed ntbackup backup c: y: /v /b
    but get the same thing.

    Can someone help me rewrite my batch file.

    Cheers,
    Steve Audus

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

  2. #2
    Dagotex
    Guest

    Post

    Out of curiousity,, what are you backing it up to? Also what OS are you using?

    ------------------
    KID FOHS

  3. #3
    chaucer
    Guest

    Post

    We are backing to a tape drive, using NT Server 4.

    NTBackup works fine if I sit there and operate it manually, but I need to do the backup at night.

    Any ideas?


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

  4. #4
    3fingersalute
    Guest

    Post

    Get a software program for doing backups. (Like ArcServe or something similar).

    or

    Why not write 2 batch file?

    ------------------
    Is it because light travels faster than sound that some people appear bright until they speak????

  5. #5
    Registered User
    Join Date
    Jul 2000
    Location
    Huntington Beach, CA, USA
    Posts
    1,515

    Post

    Use schedular and schedule it to run the batch file each night.

    ------------------
    Death is lighter than a feather - duty heavier than a mountian.
    Death is lighter than a feather - duty heavier than a mountian.

    The answer to your question is: 00110100 00110010

  6. #6
    chaucer
    Guest

    Post

    I do use "at" and
    it runs a batch file each night

    But the batch file doesn't work

    HAVE YOU READ MY PROBLEM?

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

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

    Post

    Didn't you read the answer to your OTHER posting

    http://forums.windrivers.com/cgi-bin...ML/000624.html


    I've tried it, and it works !

    '/a' adds to your current tape.

    '/t' + Option will specify backup type (incremental, differential .. etc )

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

  8. #8
    Registered User
    Join Date
    Jun 2000
    Location
    Lakeland, FL USA
    Posts
    58

    Post

    Why not just purchase Veritas Back-up Exec and not worry about it any longer? Worst case scenario, call Microshaft.

    ------------------
    Erik the Black

    "I drank what?" ~Socrates
    Yeah, my boss is jerk too, it's always, "Igor, go for brains, Igor go for sandwiches". I dunno, gimme another beer.

  9. #9
    Registered User
    Join Date
    Jun 2000
    Location
    Lakeland, FL USA
    Posts
    58

    Post

    Why not just purchase Veritas Back-up Exec and not worry about it any longer? Worst case scenario, call Microshaft.

    ------------------
    Erik the Black

    "I drank what?" ~Socrates
    Yeah, my boss is jerk too, it's always, "Igor, go for brains, Igor go for sandwiches". I dunno, gimme another beer.

  10. #10
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161

    Angry

    <font face="Verdana, Arial" size="2">Originally posted by eenge99:
    Why not just purchase Veritas Back-up Exec and not worry about it any longer? Worst case scenario, call Microshaft.

    </font>
    Not always one can Buy a Backup utility....
    You have to keep in mind that sometimes you are on a Budget and you have to make the best of it.

    I do agree the BackupExec, ArcServit and other are Gr8! but you can't Justify the cost sometimes...


    ------------------
    *************************
    It Works Better if you Plug it in, It Works far better if you Turn it ON!
    Real stupidity beats Artifical Intelligence
    Avatar courtesy of A D E P T

  11. #11
    chaucer
    Guest

    Thumbs up

    Too right, it would life easier
    but we do not have the money.

    In Win nt server I do have tools,
    I just can't get them to work right.



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

  12. #12
    elhit
    Guest

    Post

    <font face="Verdana, Arial" size="2">Originally posted by chaucer:
    Too right, it would life easier
    but we do not have the money.

    In Win nt server I do have tools,
    I just can't get them to work right.

    </font>
    NT BAckup works perfectly well and is reliable. Schedules are fine using WINAT.

    Like you said - especially when you don't have the cash available.

    I think I am missing what exactly the problem is that your having - from what you say in your original post?

    I assume the problem is that you wish to backup all your physical drives on your server (C: & Y ? When using the batch file you show C: is backed up together with the registry (/b) and then verified (/v)? Drive Y: is then backed up and verified?

    Is you problem that the Y: backup overwrites the C: backup on the backup tape?

    If it is -all you need do is add the switch /a (append) to append the Y: backup on to the end of the C: backup.

    As in:

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

    The only thing to note is that with appending to tape your tapes will fill up eventually (depending on capacity and amount of backed up data).

    So you need to either do manual erases periodically or add an erase routine to the first line of your batch file to automatically erase each tape before it is used to backup to.


    ------------------
    My best advice?
    RTFM.
    What?
    Read The F***ing Manual.

    [This message has been edited by elhit (edited March 21, 2001).]

  13. #13
    Registered User
    Join Date
    Jul 2000
    Location
    Huntington Beach, CA, USA
    Posts
    1,515

    Post

    Also if you are doing a full backup - make to scripts that run - the first runng the backup of c: without the append tag - so that it overwrites the existing tape, then the second using the /a tag to append to that day's c: backup.

    Sorry, I did not read carefully enough.

    ------------------
    Death is lighter than a feather - duty heavier than a mountian.
    Death is lighter than a feather - duty heavier than a mountian.

    The answer to your question is: 00110100 00110010

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
  •