Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

NTBackup does not start on schedule

Posted on 2008-10-22
9
Medium Priority
?
4,230 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
8 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 39

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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
"Any files you do not have backed up in at least two [other] places are files you do not care about."
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…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Suggested Courses

783 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