Help with creating backup on XP machine using ntbackup

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"
ITNCAsked:
Who is Participating?
 
ZabagaRConnect With a Mentor Commented:
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
 
CompProbSolvCommented:
Is the problem only when run as a scheduled task or also when run immediately?
0
 
ITNCAuthor Commented:
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
 
Tiva-ITCommented:
When you open NTbackup click on backup - view- report what is the error message you see or is it blank?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.