Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Help with creating backup on XP machine using ntbackup

Posted on 2013-05-28
4
Medium Priority
?
328 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 22

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 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Suggested Courses

963 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