Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

NTBackup does not start on schedule

Posted on 2008-10-22
9
4,109 Views
Last Modified: 2012-05-05
On Xp Ntbackup is configured to run a complete backup on a daily basis. Destination is a USB drive shared on the network

Manual backups work perfectly, but the scheduler, set for daily, normal, replace and with good credentials does not start. (Credentials are Administrator).

Nothing in the Apllication, security or system logs.

Stumped at what to look at next???
0
Comment
Question by:localhost_offline
  • 6
9 Comments
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22782920
1.Scheduled Backup Does Not Run – Event ID 10002

Symptoms: When you schedule an Ntbackup.exe task to run under a backup operator's credentials, the job may not complete if someone other than the backup operator is logged on to the console, and the System Event log may contain the following error entry: Event ID: 10002 - Description: Access denied attempting to launch a DCOM Server.

Resolutions: 1. Schedule the backup job to run under an administrators credentials.
2. Use the Dcomcnfg.exe program to grant backup operators launch permissions for Removable Storage Manager: do to this, run Dcomcnfg.exe> Component Services> Computers> My Computer> DCOM config>Removable Storage Manager> Properties>Security>Edit>Launch Permissions, and then add the backup operators group.

Scheduled Backup Does Not Run - Folder not found

Symptoms: When running the scheduled backup job, it starts but backup quits immediately. The backup report states as the following: Skipped files in "NT\Ntbackup\data\backup_selection_file_name.bks" folder. Folder not found. The status of the scheduled backup job shows Last Result: 0x2D.

Resolutions: 1. make sure logon user has the permission to access the folder and file.
2. Make the folder and file can be accessed.
3. Make sure non one edit the file or the file was saved as ANSI instead of Unicode.

Scheduled Backup Does Not Run – Event ID 8017

Symptoms: When running a scheduled backup job, NTbackup may stop responding or may crash, and the following event is logged:
Event ID: 8017 - Ntbackup error: The saved selection file "(path\FileName.bks)" cannot be found.

Causes: 1. This problem may occur if one or more folders that have been scheduled for backup are deleted or moved.
RESOLUTION.
2. AYou upgraded w2k to XP or installed a service patch.

Resolution: install latest SP or cOntact MS for the hotfix.

Scheduled task never runs

Symptoms: the scheduled task you created never runs. The scheduled task log lists an error: "The attempt to log on to the account associated with the task failed, therefore, the task did not run. The specific error is:0x8007052e: Logon failure: unknown user name or bad password. Verify that the task's Run-as name and password are valid and try again."

1. Cause: The password for the user you specified when creating the scheduled task might have changed.
2. Cause: The password for the user you specified when creating the scheduled task might be blank.
3. Task Scheduler cannot find the executable for the program that is supposed to run at the scheduled time because the path to it is set incorrectly.
4. The task was scheduled to run under another user account than the user currently logged on.
5. The Task Scheduler service might be stopped.
more info: http://www.chicagotech.net/ntbackup%20&%20task%20scheduler.htm#Scheduled%20task%20never%20runs

2.Backup (NTBackup.exe) Stops During the Backup Process and Event 8017 Is Logged
http://support.microsoft.com/default.aspx?scid=kb;en-us;828402

Articles from the Microsoft Knowledge Base relating to NTBackup
http://www.ntbackup.info/ntbackup/index.php?p=2

Scheduled Backup Jobs May Not Run As Expected
http://support.microsoft.com/?kbid=264604

XP Backup Using NTBackup Backup or Restore Wizard
http://www.theeldergeek.com/backup_using_wizard.htm

3.http://support.microsoft.com/default.aspx?scid=kb;en-us;314844
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/SBS_Small_Business_Server/Q_22415461.html

4.Follow this tutorial and adjust the schedule accordingly :) http://www.ilopia.com/Articles/WindowsServer2003/Backup.aspx#BackupData
0
 
LVL 1

Author Comment

by:localhost_offline
ID: 22783497
Thanks - the schedule is set to run under an administrative account and there is zero information in any of the logs...

Nothing in the ntbackup report - it looks like it doesn't even try to start!
0
 
LVL 1

Author Comment

by:localhost_offline
ID: 22808917
As the schedules still don't work (with nothing in the logs at all), Here's the commandline:-

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Admin\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Daily.bks" /n "PacserverBackup.bkf created 21/10/2008 at 2:41 PM" /d "Set created 21/10/2008 at 2:41 PM" /v:yes /r:no /rs:no /hc:off /m normal /j "Daily" /l:s /f "\\Alanpac\Backup\Pacserver\PacserverBackup.bkf"

The operator is a member of administrators and backup users groups.

This works neither on an xp pro or home machine.

TIA
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 1

Author Comment

by:localhost_offline
ID: 22817685
Checking the scheduler the the schedule is marked as "Could not start:" Result "0x0"

Again no indication of why.... The scheduler service is running, does try to start but something stops ntbackup from starting.

Surely this is not an impossible task.
0
 
LVL 1

Author Comment

by:localhost_offline
ID: 22817726
If I run the command line in the scheduler from the "Run" menu I get a report saying ntbackup failed beacause no storage media was found.

Yet the same command line run from a command shell/dos box executes perfectly.
0
 
LVL 38

Expert Comment

by:BillDL
ID: 22821880
Just a shot in the dark, because I'm not sure if the order of the command line switches is absolutely fixed, but try relocating the Job Name switch:
/j "Daily"
back before the /N switch.


backup "@C:\Documents and Settings\Admin\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Daily.bks" /j "Daily" /n "PacserverBackup.bkf created 21/10/2008 at 2:41 PM" /d "Set created 21/10/2008 at 2:41 PM" /v:yes /r:no /rs:no /hc:off /m normal /l:s /f "\\Alanpac\Backup\Pacserver\PacserverBackup.bkf"
0
 
LVL 1

Author Comment

by:localhost_offline
ID: 22845532
Thanks will test that.

As for the other points raised by sk_raja_raja: - there are no evnts in the log as mentioned. The schedule is set to run under administrative privelages, paths/folders have not been changed and the rest of the links to MS KB have not been relevant to the situation described.

BTW the switch placement is the order created by the ntbackup wizard - but they are not always infallible eh?
0
 
LVL 1

Accepted Solution

by:
localhost_offline earned 0 total points
ID: 22890870
The accounts used to run the schedule were not password protected. Another account was added woth password authentication enabled and the task ran. Whilst the comment from sk raja raja did mention blank passords this was associated with a log event.

Symptoms: the scheduled task you created never runs. The scheduled task log lists an error: "The attempt to log on to the account associated with the task failed, therefore, the task did not run. The specific error is:0x8007052e: Logon failure: unknown user name or bad password. Verify that the task's Run-as name and password are valid and try again."

Cause: The password for the user you specified when creating the scheduled task might be blank.

In the case of the user having no passord no event is written to the log. Another undocumented feature perhaps?

Result: Don't run Ntbackup with an account that has no associated password.

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

How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…

839 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