Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

NTBackup on Winodows 7

Posted on 2014-01-28
4
Medium Priority
?
540 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

618 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