-
March 14th, 2001, 05:30 AM
#1
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
-
March 14th, 2001, 05:11 PM
#2
Out of curiousity,, what are you backing it up to? Also what OS are you using?
------------------
KID FOHS
-
March 15th, 2001, 03:14 AM
#3
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
-
March 15th, 2001, 06:50 AM
#4
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????
-
March 16th, 2001, 02:38 PM
#5
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
-
March 19th, 2001, 02:12 AM
#6
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
-
March 19th, 2001, 03:28 AM
#7
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
-
March 20th, 2001, 09:25 PM
#8
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.
-
March 20th, 2001, 09:26 PM
#9
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.
-
March 21st, 2001, 03:51 AM
#10
Registered User
<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
-
March 21st, 2001, 03:58 AM
#11
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
-
March 21st, 2001, 06:13 AM
#12
<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).]
-
March 21st, 2001, 10:57 AM
#13
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks