+ Post New Thread
Results 1 to 13 of 13
Windows Server 2000/2003 Thread, Disobedient NTBackup will not run Scheduled Task in Technical; Has anybody else had a problem with scheduled backups not running? We have several servers running 2003 and all of ...
  1. #1
    Batman's Avatar
    Join Date
    Mar 2009
    Location
    Northampton
    Posts
    940
    Thank Post
    115
    Thanked 118 Times in 74 Posts
    Rep Power
    40

    Disobedient NTBackup will not run Scheduled Task

    Has anybody else had a problem with scheduled backups not running?

    We have several servers running 2003 and all of them backup to AIT tapes. There's one I set up recently that will perform a manual backup perfectly everytime but if I schedule the backup it does nothing.

    I have restarted the task scheduler service and I also found an article suggesting that having rdp sessions left logged in could be a problem, so I tried killing off all but the console. Still no luck.

    We do have two virtual machines running in VMWare on this server but I think we've had problems since before we started using VMs.

    Anyone had/have similar problems? Any tips I can try?

  2. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,706
    Thank Post
    354
    Thanked 807 Times in 722 Posts
    Rep Power
    348
    Checked the event viewer to see whether it does anything or just doesn't listen to the schedule?

    I assume manually it works OK?

    Have you specified an account to be used and then changed the password maybe?

  3. #3
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    893
    Thank Post
    70
    Thanked 85 Times in 70 Posts
    Rep Power
    33
    What does the task scheduler log say?

  4. #4


    Join Date
    Sep 2007
    Location
    UK
    Posts
    5,463
    Thank Post
    1,462
    Thanked 892 Times in 573 Posts
    Rep Power
    647
    Is it coming back with a media cannot be found error? There are a few threads on this ntbackup B2D scheduled job problems

  5. #5

    Join Date
    Apr 2008
    Posts
    88
    Thank Post
    7
    Thanked 6 Times in 5 Posts
    Rep Power
    15
    Interestingly we've been having what sounds like the exact same problem since we got an AIT3 Turbo drive in one of our servers

    I choose the drives to backup, set it as a scheduled task and thought, well, that'll be that...

    Checked the next morning, and got a blank log... OK, so I looked at it again, and thought, ah right yeah, i'll add /um onto the end of the task, so it'll pick up the free media.

    So I thought, let's see what happens with this... and it worked fine on the first day, but isn't working properly now. It seems to generate a blank log file after 30 minutes.

    So I thought, fine, until I sort it, I'll just set it backing up manually, by choosing to run the scheduled task.. Which works!... backs up fine, verifies fine, generates the log file fine, which is what's confusing... BUT when I did this the other day, it sat "mounting the media" for 30 minutes, then quit.

    So I choose to do the backup on the tape that was in, by not choosing to manually run the scheduled task (which HAD been working fine by choosing to manually run it) and it worked.

    So it's just the schuedule that's being a pain.... odd....

  6. #6
    Batman's Avatar
    Join Date
    Mar 2009
    Location
    Northampton
    Posts
    940
    Thank Post
    115
    Thanked 118 Times in 74 Posts
    Rep Power
    40
    Quote Originally Posted by kmount View Post
    Checked the event viewer to see whether it does anything or just doesn't listen to the schedule?

    I assume manually it works OK?

    Have you specified an account to be used and then changed the password maybe?
    Yeah, the backup logs aren't much help because sometimes it creates one and sometimes it doesn't. Last one created said "Cannot locate the specified media or backup device". There is definitely a tape in there and, as you say, manual backups work without a hitch.

    Task Scheduler logs show the backup job starting and completing 20-30 seconds later with the message "The task completed with an exit code of (0)", which I am told is supposed to mean it was successful.

    I was using the administrator account, I'm now using a backup user account but I get the same results with both. I don't think it's a user problem.

  7. #7


    Join Date
    Sep 2007
    Location
    UK
    Posts
    5,463
    Thank Post
    1,462
    Thanked 892 Times in 573 Posts
    Rep Power
    647
    I've tried loads of things to try and fix this but it is still intermittent. So now, the Office Manager sets it off manually before she leaves. Think we might invest in Veritas when we get some money.

  8. #8

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    66
    How are you setting up the scheduling? I don't have AIT/tape but had major major problems getting ntbackup to play nice directly with scheduled tasks. Solution was to transfer the commandline for ntbackup to a .bat file then schedule this running. May be worth a shot, has worked perfectly for me ever since.

    See Server 2003, NTBackup and Scheduled Tasks for my original Q&A

  9. #9

    Join Date
    May 2007
    Location
    Suffolk
    Posts
    145
    Thank Post
    2
    Thanked 19 Times in 17 Posts
    Rep Power
    19
    We had all kinds of problems until we changed the scheduled task to include the following command.

    /um

    Switch: /um Description: Finds the first available media, formats it, and uses it for the current backup operation. Use the /p switch to designate a device-type media pool when you use the /um switch so that Backup searches for the appropriate type of media, such as 4mm DDS. When you use the /um switch, Backup searches the following media pools for available media: Free pool, Import pool, Unrecognized pool, and Backup pool. When available media is found, the search stops and the media is formatted and then used without prompting you for input. This command is not applicable to tape loaders and you should only use it if you have a standalone tape device. The /UM switch should be at the end of the command line and should not be enclosed in quotes.

  10. Thanks to Polski from:

    Batman (31st March 2009)

  11. #10

    Join Date
    May 2007
    Location
    Suffolk
    Posts
    145
    Thank Post
    2
    Thanked 19 Times in 17 Posts
    Rep Power
    19
    Daft question, but is your media pre-formatted?

  12. #11

    Join Date
    Apr 2007
    Location
    Corby, Northants
    Posts
    48
    Thank Post
    8
    Thanked 9 Times in 8 Posts
    Rep Power
    17
    Hi

    Don't know if this is relevant, but I remember we needed to use ntbackup to back up some stuff for a while. I noticed that if I used mstsc to log in to the server, and create the scheduled task, it wouldn't run. If I was sat at the server itself, all was well. This was backup to file (external drive), rather than to tape.

    Maria

  13. #12
    Batman's Avatar
    Join Date
    Mar 2009
    Location
    Northampton
    Posts
    940
    Thank Post
    115
    Thanked 118 Times in 74 Posts
    Rep Power
    40
    Yup, that's what I found in the MS article I said about.

    Thankfully, the /um switch seems to have done the trick for me. Thanks for your help everyone

  14. #13

    Join Date
    Oct 2009
    Location
    S„o Paulo
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    NTBACKUP - Schedule Tasks

    Ok,

    I understud about the /um at the end of command line to backups in tapes devices. But i have daily automated backups in diferent tasks (one task for each day of week) to generate monday.bkf, tuesday.bkaf, etc...

    The tasks are identical and was created with the same user, using the same user for the job. Some days work, some days not. In my schedule tasks the status is the same for all jobs (0x0) and in schedule log the task run for just few seconds (5 or 6 seconds).

    Any sugestions?

    Sorry about my bad english, i'm from Brasil and it's my first post.

    Thanks everybody



SHARE:
+ Post New Thread

Similar Threads

  1. Server 2003, NTBackup and Scheduled Tasks
    By OutToLunch in forum Windows
    Replies: 5
    Last Post: 23rd October 2009, 03:39 PM
  2. Exmerge Scheduled Task crashing
    By adamf in forum Windows
    Replies: 3
    Last Post: 1st December 2008, 12:00 PM
  3. Scheduled task not displaying on desktop
    By Jobos in forum Windows
    Replies: 2
    Last Post: 30th April 2008, 04:16 PM
  4. Deploy a scheduled task!
    By Ste_Harve in forum How do you do....it?
    Replies: 2
    Last Post: 14th September 2007, 03:04 PM
  5. ntbackup B2D scheduled job problems
    By randle in forum Windows
    Replies: 2
    Last Post: 2nd July 2007, 03:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •