ntbackup keep alive but do nothing

M

Mandy

I have used a batch file to schedule backup every night...
but every day when I back to office, I found that the
batch is still in Running status, and the "ntbackup.exe"
is still show in "Task Manager", but the backup tape is
already eject from the drive (according to my command in
the batch file) I need to kill the ntbackup.exe manually
in task manager.
Then I check back the log file in ntbackup in which is
empty.....

Do any one know why the log file is empty??
Have ntbackup do any thing on my computer??
why the tape is ejected out but the ntbackup is still
running??

my environment is Windows 2000 Server

Here is the script:

echo off
start /wait C:\WINNT\system32\NTBACKUP.EXE
backup "@C:\Documents and Settings\backupAdmin\Local
Settings\Application Data\Microsoft\Windows
NT\NTBackup\data\Backup.bks" /n "FRIDAY" /d "FRIDAY" /v:no
/r:no /rs:no /hc:blush:n /l:s /m
normal /j "FRIDAYJob" /t "FRIDAY"
rsm eject /pf"FRIDAY - 1" /astart

(I think it is not the problem of the batch file because i
have run the same batch file in another server for
backup.... which work successfully and without any
problem....)


Mandy
 
L

Lanwench [MVP - Exchange]

Mandy said:
I have used a batch file to schedule backup every night...
but every day when I back to office, I found that the
batch is still in Running status, and the "ntbackup.exe"
is still show in "Task Manager", but the backup tape is
already eject from the drive (according to my command in
the batch file) I need to kill the ntbackup.exe manually
in task manager.
Then I check back the log file in ntbackup in which is
empty.....

Do any one know why the log file is empty??
Have ntbackup do any thing on my computer??
why the tape is ejected out but the ntbackup is still
running??

my environment is Windows 2000 Server

Here is the script:

echo off
start /wait C:\WINNT\system32\NTBACKUP.EXE
backup "@C:\Documents and Settings\backupAdmin\Local
Settings\Application Data\Microsoft\Windows
NT\NTBackup\data\Backup.bks" /n "FRIDAY" /d "FRIDAY" /v:no
/r:no /rs:no /hc:blush:n /l:s /m
normal /j "FRIDAYJob" /t "FRIDAY"
rsm eject /pf"FRIDAY - 1" /astart

(I think it is not the problem of the batch file because i
have run the same batch file in another server for
backup.... which work successfully and without any
problem....)

First try to run it manually, by double-clicking the batch file while the
tape is in the drive.
What account is the scheduled task set to run under?
I've never tried using /wait - haven't needed to, actually. What about
including

rsm inventory /lf"<tape library name" /AFULL
sleep 10

(with sleep.exe from the resource kit)

before beginning the job?
 
M

Mandy

I use /wait because I have some other script to do
something after the backup is finish... that why i need to
use /wait...

What is the use of the following script??
and how can i get the <tape library name> ??

rsm inventory /lf"<tape library name" /AFULL
sleep 10

Thanks a lot

Mandy
 
J

Jerold Schulman

rsm view /tlibrary

See tip 7925 in the 'Tips & Tricks' at http://www.jsiinc.com

I use /wait because I have some other script to do
something after the backup is finish... that why i need to
use /wait...

What is the use of the following script??
and how can i get the <tape library name> ??

rsm inventory /lf"<tape library name" /AFULL
sleep 10

Thanks a lot

Mandy


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
M

Mandy

is "rsm inventory" is used for when backup need to use
more than 1 tape??

Are you mean my situation is likly need more than 1 tape
to complete the backup ??

But the data needed to backup only 15GB, and the tape I
use is 24GB, 1 tape should be enough for the backup,
right??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top