Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win2K Backup and scheduling 1

Status
Not open for further replies.

tvbruwae

Programmer
Aug 9, 2001
224
EU
Hi

I'm using batch files consisting of a backup statement and a move command to store my backups onto a network shared folder (I can't backup directly to this folder due to connection speeds). When running them from the prompt or explorer, they all work fine. However, once I have scheduled them (daily), they don't. The backup runs well, but the move statement appears not to be executed. The strange thing is that when I run the schedule twice (so the backup file is overwritten with the new backup), it does work. Removing the BKF file from the first execution has no impact, the move statement still works on the (second) backup file version. Does someone have any idea how this can be explained?

Thanks
 
Hi,

Your problem did gives me some info for the batch file which I have to create. thanks...
I have t write a batch job to run an automated backup for a system in win 2000 server whereby this batch files need to answer certain prompt. May I know how to write a batch files that need to answers this prompt?

thanks, cp4720
 
HI!

2 tips:

* When scheduling job - give the apropriate credentials of a user that can access the server. Don't use the local ADMINISTRATOR but use a Network user login, like the one you use to login regulary.

* When using BATCH files, try to use full path for file names, and don't assume that what you want is in the PATH.

Bye
Yizhar Hurwitz
 
Hi
I'm running sbs2k server that includes isa2k , sql2k , win2k server , exchange 2k etc.

I needs an idea for taking backup daily , weekly and monthly basis of my server full, partial and system state thru ntbackup.

how i can do this ?

anyone have an idea will be helpfull to me
and gratefull to u

thanx in advance

uttamm

 
I tried some different approaches, but without success. I rewrote the batch files with "start /wait" commands, but still the moves don't work. I used a domain administrator's account to perform the backup, so this can't be the problem either. When looking at the "local" drive used for storing the BKF files temporarily, different backups seem to have been made during the night (as scheduled), but none of them were copied or moved towards the network share. I'd like to put a pause statement between the 2 commands, but this requires a user's input to continue, doesn't it?

Still, it's strange that when running the batch files out of the schedule, they all work fine. Running a schedule manually usually works too (not always though)... Strange
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top