Solved

Help with creating backup on XP machine using ntbackup

Posted on 2013-05-28
4
321 Views
Last Modified: 2013-06-20
I am using the following switches to call this backup schedule that was created in scheduled tasks but is not running, does anyone see any errors with the below script? I have changed user data to generic terms such as \\servername\ etc.....

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\user.domainname\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Daily 1.bks" /t /d "Set created 2/4/2013 at 4:35 PM" /v:no /r:no /rs:no /hc:off /m copy /j "New Daily 1" /l:s /f "\\Servername\DATA\Backup\New Daily.bkf"
0
Comment
Question by:ITNC
4 Comments
 
LVL 21

Expert Comment

by:CompProbSolv
ID: 39201923
Is the problem only when run as a scheduled task or also when run immediately?
0
 

Author Comment

by:ITNC
ID: 39201973
Yes, I have tried running from command prompt, and I see the process start; however, ntbackup.exe disappears as soon as it starts and I see no mod to the backup location on the server.......
0
 
LVL 2

Expert Comment

by:Tiva-IT
ID: 39204269
When you open NTbackup click on backup - view- report what is the error message you see or is it blank?
0
 
LVL 15

Accepted Solution

by:
ZabagaR earned 500 total points
ID: 39205339
Remove the /t in your command.

Also make sure accessing this resource "\\Servername\DATA\Backup\New Daily.bkf" via script (and scheduled task) doesn't prompt for credentials. Instead of that method I usually prefer to do a "net use z: /d" followed by "net use z: \\servername\sharename" then at the "/f" switch, use the drive letter Z: and the path to the .bkf file...instead of your full UNC path.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

730 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