NTBackup on Windows 2003 Server using batchfiles

S

Sleurhutje

Hi,

I have a script which is generated weekly to perform a backup of the
server(s). Under Windows 2000 server the script runs fine. But if I'm using
the same script on Windows 2003 server it fails.


The backup account is equal to the Administrator and the problems also occur
when the Administrator is used as the account for Scheduled Tasks. Both the
Administrator and Backup account have Log on as a Service/Batch Job/Locally
enabled. The failure is only when the backup account is not logged on. If
the backup account is logged on to the console (or a RDP session) all works
fine.

The batch that starts:

@echo off
echo Backing up files (full)
echo Waiting for Remote Storage to refresh
rsm.exe refresh /LF"HP C5687A SCSI Sequential Device"
c:\batch\backup\sleep.exe 30
ntbackup backup "C:\BATCH\BACKUP\JOBS\Backgen.bks" /v:yes /r:no /rs:no
/hc:blush:n /n "Backup Week 11 2003" /d "Backup Week 03 2003 - FULL 15-01-2004"
/j "Backup Week 03 2003 - FULL 15-01-2004" /l:s /p "4mm DDS" /m normal /um


The backup log reports:

Backup status
The operation could not be performed because no storage media was
specified
----------------------------------------------------------------------------
-----


When logged on the log reports a succesfull backup and reading back files
confirm this was executed correctly.

I want to know why thing works fine when logged on and fails when logged off
and how to solve this problem. In both cases the task starts using Scheduled
Tasks. And I don't want to use the built-in scheduler of NTBackup because I
don't want to use media-pools (I have my reasons for that).

All updates and patches are installed.


Please help.


Jeroen
 
M

michitsch

I don't like the media-pools either, so I wrote NTBackupScript to
hopefully just write to any tape I put in the drive every time
regardless of what pool it's in. Maybe go to http://ntbackup.no-ip.com
and try my free script out and see if it helps you out at all. It's
specifically for Windows Server 2003.

-Good Luck!
 

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