Solved

NTBackup on Winodows 7

Posted on 2014-01-28
4
508 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now