NTBackup on Winodows 7
Posted on 2014-01-28
I have copied over NTBackup from an XP machine. On that XP machine I was running a batch script to backup files and it worked well. After coping the three files (NTBackup.exe, vssapi.dll, and ntmsapi.dll) I am able to run a backup sucessfully if i start NTBackup manually. When I attmpt to run the script that was working on Windows XP NTBackup does start but I am getting the following error:
Event ID 8017 Source: NTBackup
NTBackup error: 'Command Line Problem: A valid backup operation was not specified on the command line.'
The command I am trying to run from the script is:
start /B /WAIT /HIGH C:\NTBackup\NTBackup.exe \\phlms1\c$\intranet /J "PHLMS1 Intranet %dsdate%" /F "%BU2%\backup\%dsdate% PHLMS1 Intranet.bkf" /D "%dsdate% PHLMS1" /L:S /M normal /UM
%dsdate% is the date the backup is run and %BU2% is the drive letter to do the backup too and are set prior to the ntbackup running