Link to home
Start Free TrialLog in
Avatar of goldylamont
goldylamont

asked on

NTbackup script help needed (failing on weekends)

Hi, I am running NTbackup on SBS Server 2003. It's running fine Mon-Fri but not working on Sat & Sun. There is a Full backup on Fridays and Diffs the rest of the week. The issue is that on Saturday and Sunday, the backup tape is not taken out of the machine so NTbackup is unsuccessful and gives this error:

"Cannot locate the specified media or backup device. This backup operation will terminate."

here are examples of the Friday backup script that works and then the Saturday script that fails:

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Spring 2007 Backup Selections.bks" /n "05 Friday FULL Backup" /d "05 Friday FULL Backup" /v:yes /r:no /rs:no /hc:off /m normal /j "05 Friday FULL Backup" /l:s /UM /p "DLT"

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Spring 2007 Backup Selections.bks" /d "06 Saturday DIFF" /v:yes /r:no /rs:no /hc:off /m differential /j "06 Saturday DIFF" /l:s /p "DLT"

How can I change things so that the Saturday backup will write to the same tape as Friday backup, and append it's data so as not to overwrite the Friday Full backup?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of DanKoster
DanKoster
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of goldylamont
goldylamont

ASKER

good suggestion. i do need to add /a to append.

however, this still won't resolve the issue of NTbackup not being able to find the media on Sat/Sun. There's something wrong with my naming of jobs or something because (as noted above) i get this error on Sat & Sun backup jobs:

"Cannot locate the specified media or backup device. This backup operation will terminate."

How can I edit the above scripts to avoid getting this error, keeping in mind that the tape will be the same tape loaded in from Fri-Sun.

thanks,
k
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial