Solved

NTBackup does not start on schedule

Posted on 2008-10-22
9
4,076 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
 
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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

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

Suggested Solutions

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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 process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

914 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

17 Experts available now in Live!

Get 1:1 Help Now