Solved

NTBackup does not start on schedule

Posted on 2008-10-22
9
4,047 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 1

Author Comment

by:localhost_offline
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 1

Author Comment

by:localhost_offline
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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 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…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now