Solved

NTBackup on Winodows 7

Posted on 2014-01-28
4
514 Views
Last Modified: 2014-02-05
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
0
Comment
Question by:abailey101
  • 3
4 Comments
 
LVL 19

Expert Comment

by:Rob Hutchinson
ID: 39815844
Did you try using the version for Windows 7?

Think this is the Micro$oft link:

http://support.microsoft.com/kb/974674
0
 

Author Comment

by:abailey101
ID: 39816041
KB974674 is a restore only utility...

Reading on the internet you should be able to copy ntbackup from an XP system and it will work in Windows 7.

The backup of files does work if I launch NTBackup and use the GUI to select my files and backup location.... It does not work if I try and launch NTBackup from a dos script.
0
 

Accepted Solution

by:
abailey101 earned 0 total points
ID: 39825361
Found the solution... Even though I copied NTBackup and script file from an XP Box the syntax was wrong.  By modifiing the script as follows I got it to work.

start /B /WAIT /HIGH C:\NTBackup\NTBackup.exe Backup \\phlms1\c$\intranet  /J "PHLMS1 Intranet %dsdate%"  /F "%BU2%\backup\%dsdate% PHLMS1 Intranet.bkf" /D "%dsdate% PHLMS1" /L:S /M normal /UM /SNAP:OFF
0
 

Author Closing Comment

by:abailey101
ID: 39835096
Corrected Syntax
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question