Solved

Help with creating backup on XP machine using ntbackup

Posted on 2013-05-28
4
320 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 20

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
preview video of network plus 2 113
office 365 , exchange , backup 5 68
Restore Server 2012 R2 Registry 4 71
Windows shadowcopy - space allocated - exclusive? 4 26
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…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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 configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

805 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