NTbackup Help

D

Dan

I created a backup job and it never runs on schedule. This is what was in
the properties of the scheduled job; C:\WINNT\system32\ntbackup.exe backup
"@C:\Documents and Settings\ntadmin\Local Settings\Application
Data\Microsoft\Windows NT\NTBackup\data\Tuesday.bks" /n "Media created
7/9/2004 at 2:54 PM" /d "Tuesday" /v:yes /r:no /rs:no /hc:blush:n /m normal /j
"Tuesday.job" /l:s /g "c9a1ade3-ad18-45fb-ab72-526e8d502b66"

I want the backup job to overwrite any tape that is in the drive. Can anyone
help me with this.

thanks
 
P

Pegasus

Dan said:
I created a backup job and it never runs on schedule. This is what was in
the properties of the scheduled job; C:\WINNT\system32\ntbackup.exe backup
"@C:\Documents and Settings\ntadmin\Local Settings\Application
Data\Microsoft\Windows NT\NTBackup\data\Tuesday.bks" /n "Media created
7/9/2004 at 2:54 PM" /d "Tuesday" /v:yes /r:no /rs:no /hc:blush:n /m normal /j
"Tuesday.job" /l:s /g "c9a1ade3-ad18-45fb-ab72-526e8d502b66"

I want the backup job to overwrite any tape that is in the drive. Can anyone
help me with this.

thanks

Place your backup command into a batch file, then schedule the
batch file so that you get better diagnostics:

@echo off
echo %date% %time% Username=%UserName% > c:\tape.log
ntbackup backup @c:\Tapes\Backup.bks /j "%date%" /n "%date%" /d "%date%"
/v:blush:n
/r:no /rs:no /p "Travan" /m Normal /L:S /um 1>>c:\tape.log
2>>c:\tape.err
echo %date% %time% Username=%UserName% >> c:\tape.log

Now adjust the ntbackup line to suit your own requirements,
schedule the job, then examine the two log files.
 
J

Jerold Schulman

I created a backup job and it never runs on schedule. This is what was in
the properties of the scheduled job; C:\WINNT\system32\ntbackup.exe backup
"@C:\Documents and Settings\ntadmin\Local Settings\Application
Data\Microsoft\Windows NT\NTBackup\data\Tuesday.bks" /n "Media created
7/9/2004 at 2:54 PM" /d "Tuesday" /v:yes /r:no /rs:no /hc:blush:n /m normal /j
"Tuesday.job" /l:s /g "c9a1ade3-ad18-45fb-ab72-526e8d502b66"

I want the backup job to overwrite any tape that is in the drive. Can anyone
help me with this.

thanks
Add the /UM switch, tip 2265 in the 'Tips & Tricks' at http://www.jsiinc.com

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

Dan

I tried that bat file and when i dbl click on it i see the Ntbackup sw open
but then it closes right away. I check the c:\tape\tape.log and all it
shows is the username and date.
 

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