G
Guest
I created a backup with Microsoft's backup utility. It works when I am logged
in. When I have it scheduled, it doesn't work and fails with a status of
"Last Result 0x1f".
I reference a NAS device via a mapped network drive like:
Z:\MonBackUps\Backup.bkf
I am using WindowsXP machines with SP2.
I stayed logged in via "Switch User" and the backup ran successfully;
however, these are multiuser machines that are used frequently. The idea was
to back them up at night when no one was using them. The switch user or
lock-workstation idea really isn't too great for that.
I did some additional testing by writing a batch file and running it (while
logged in).
@echo off
echo %date% %time% Start of task > c:\test.log
dir Z:\MonBackups 1>>c:\test.log
echo %date% %time% 1>Z:\MonBackups
echo User=%UserName%, Path=%path% >> c:\test.log
%systemroot%\system32\ntbackup.exe /.. /.. 1>>c:\test.log
echo %date% %time% End of task >> c:\test.log
If I run this line of the batch file from cmd.exe, it works fine.
%systemroot%\system32\ntbackup.exe /.. /.. 1>>c:\test.log 2>>c:\test.err
If I run the same line from inside of a batch file, I get the message
"Access is denied."
If I look in the event viewer for applications, I see the following Error:
EventID 8017.
NTBackup error: 'Command Line Problem: A valid backup operation was not
specified on the command line.'
Since I ran the wizard to setup the entire backup, and it works when logged
in, I doubt the command line of the NTBackup has an issue.
On the Microsoft site, I found this:
When you back up your computer's hard disk by using Backup (NTBackup.exe),
Backup may stop responding or may crash, and the following event is logged:
Event ID: 8017
Source: Ntbackup
Ntbackup error: The saved selection file "(path\FileName.bks)" cannot be
found.
CAUSE
This problem may occur if one or more folders that have been scheduled for
backup are deleted or moved.
Back to the top
RESOLUTION
Microsoft Windows XP Hotfix Information
A supported hotfix is now available from Microsoft, but it is only intended
to correct the problem that is described in this article. Only apply it to
systems that are experiencing this specific problem. This hotfix may receive
additional testing. Therefore, if you are not severely affected by this
problem, Microsoft recommends that you wait for the next Windows XP service
pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support
Services to obtain the hotfix. For a complete list of Microsoft Product
Support Services phone numbers and information about support costs, visit the
following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Seems like two different issues to me:
1. "Access is denied." to ntbackup - most likely the problem
2. 8017 "(path\FileName.bks)" cannot be found.
Anyone know how I can get this hotfix?
Anyone have any ideas for this?
in. When I have it scheduled, it doesn't work and fails with a status of
"Last Result 0x1f".
I reference a NAS device via a mapped network drive like:
Z:\MonBackUps\Backup.bkf
I am using WindowsXP machines with SP2.
I stayed logged in via "Switch User" and the backup ran successfully;
however, these are multiuser machines that are used frequently. The idea was
to back them up at night when no one was using them. The switch user or
lock-workstation idea really isn't too great for that.
I did some additional testing by writing a batch file and running it (while
logged in).
@echo off
echo %date% %time% Start of task > c:\test.log
dir Z:\MonBackups 1>>c:\test.log
echo %date% %time% 1>Z:\MonBackups
echo User=%UserName%, Path=%path% >> c:\test.log
%systemroot%\system32\ntbackup.exe /.. /.. 1>>c:\test.log
echo %date% %time% End of task >> c:\test.log
If I run this line of the batch file from cmd.exe, it works fine.
%systemroot%\system32\ntbackup.exe /.. /.. 1>>c:\test.log 2>>c:\test.err
If I run the same line from inside of a batch file, I get the message
"Access is denied."
If I look in the event viewer for applications, I see the following Error:
EventID 8017.
NTBackup error: 'Command Line Problem: A valid backup operation was not
specified on the command line.'
Since I ran the wizard to setup the entire backup, and it works when logged
in, I doubt the command line of the NTBackup has an issue.
On the Microsoft site, I found this:
When you back up your computer's hard disk by using Backup (NTBackup.exe),
Backup may stop responding or may crash, and the following event is logged:
Event ID: 8017
Source: Ntbackup
Ntbackup error: The saved selection file "(path\FileName.bks)" cannot be
found.
CAUSE
This problem may occur if one or more folders that have been scheduled for
backup are deleted or moved.
Back to the top
RESOLUTION
Microsoft Windows XP Hotfix Information
A supported hotfix is now available from Microsoft, but it is only intended
to correct the problem that is described in this article. Only apply it to
systems that are experiencing this specific problem. This hotfix may receive
additional testing. Therefore, if you are not severely affected by this
problem, Microsoft recommends that you wait for the next Windows XP service
pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support
Services to obtain the hotfix. For a complete list of Microsoft Product
Support Services phone numbers and information about support costs, visit the
following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Seems like two different issues to me:
1. "Access is denied." to ntbackup - most likely the problem
2. 8017 "(path\FileName.bks)" cannot be found.
Anyone know how I can get this hotfix?
Anyone have any ideas for this?