Link to home
Start Free TrialLog in
Avatar of localhost_offline
localhost_offline

asked on

NTBackup does not start on schedule

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???
Avatar of sk_raja_raja
sk_raja_raja

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
https://www.experts-exchange.com/questions/22415461/SBS-Backup-fails-on-schedule-but-works-direct.html

4.Follow this tutorial and adjust the schedule accordingly :) http://www.ilopia.com/Articles/WindowsServer2003/Backup.aspx#BackupData
Avatar of localhost_offline

ASKER

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!
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
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.
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.
Avatar of BillDL
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"
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?
ASKER CERTIFIED SOLUTION
Avatar of localhost_offline
localhost_offline

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial