Solved

NTBackup on Winodows 7

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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

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

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…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
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.
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…

910 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

22 Experts available now in Live!

Get 1:1 Help Now