Home All Groups Group Topic Archive Search About

NTBackup and/or Scheduled Task Not Working

Author
23 Mar 2005 4:11 PM
rcir88
I am trying to create a scheduled backup called “SW Daily Backup” using
NTBackup that runs Monday, Tuesday, Wednesday, Friday at 11: 50 pm and which
backups my data on drive E.  The script below was created by the program and
I added the last switch, /um.  The script is found in scheduled tasks.  I
selected the backup mode to be normal as opposed to copy although for my
purposes, I don’t think it matters since I am not doing any differential or
incremental backups.  If I put in a new tape, the a log is created but is
empty; hence I believe no backup occurred.  If I first manually run the
backup by going to Scheduled Tasks, right clicking the icon for “SW Daily
Backup” and selecting run, the backup runs and a log is created indicating
that the backup occurred.  If I leave that tape in the drive, later that
night at 11:50, the backup again occurs and a log is created showing a backup
occurred.  Why must I first manually run the backup to have the scheduled
task work?

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and
Settings\Administrator\Local Settings\Application Data\Microsoft\Windows
NT\NTBackup\data\SW Daily Data.bks" /n "Daily Data - E" /d "SW Daily Data -
E" /v:yes /r:yes /rs:no /hc:on /m normal /j "SW Daily Data" /l:s /p "4mm
DDS"/um

Author
24 Mar 2005 4:51 AM
Bill
I had a very similar problem - I took the command line you had and saved it
as a batch file from it and then shceduled a task to run the batch file every
night.
Works like a charm. NT Backup scheduler only seems to work if the server
stays logged in as the user that reated the job.
Try it anyways. There are a few sites on the web that have sample batch
files that you can modify - unfortunately, I can't remember them right now.

Show quoteHide quote
"rcir88" wrote:

> I am trying to create a scheduled backup called “SW Daily Backup” using
> NTBackup that runs Monday, Tuesday, Wednesday, Friday at 11: 50 pm and which
> backups my data on drive E.  The script below was created by the program and
> I added the last switch, /um.  The script is found in scheduled tasks.  I
> selected the backup mode to be normal as opposed to copy although for my
> purposes, I don’t think it matters since I am not doing any differential or
> incremental backups.  If I put in a new tape, the a log is created but is
> empty; hence I believe no backup occurred.  If I first manually run the
> backup by going to Scheduled Tasks, right clicking the icon for “SW Daily
> Backup” and selecting run, the backup runs and a log is created indicating
> that the backup occurred.  If I leave that tape in the drive, later that
> night at 11:50, the backup again occurs and a log is created showing a backup
> occurred.  Why must I first manually run the backup to have the scheduled
> task work?
>
> C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and
> Settings\Administrator\Local Settings\Application Data\Microsoft\Windows
> NT\NTBackup\data\SW Daily Data.bks" /n "Daily Data - E" /d "SW Daily Data -
> E" /v:yes /r:yes /rs:no /hc:on /m normal /j "SW Daily Data" /l:s /p "4mm
> DDS"/um
>

Bookmark and Share