Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Re: ntabckup fails randomly in 2003 (run from batch)

Reply
Thread Tools Display Modes

Re: ntabckup fails randomly in 2003 (run from batch)

 
 
Jerold Schulman
Guest
Posts: n/a

 
      04-26-2005

I would try scheduling this job in the context of a ScheduleOnly Admin that never logs on.


On Tue, 26 Apr 2005 12:24:40 +0200, Tomasz Chmielewski <> wrote:

>I'm having a problem with ntbackup in Windows 2003 - it fails/hangs
>randomly when it is run from the command prompt or a scheduler.
>
>I wanted to run it from a batch script (separate backup to a file for
>C:, E:, systemstate etc.)., as a scheduled job (every night).
>
>Unfortunately, ntbackup fails/hangs randomly - it happens on 4 Windows
>2003 servers (one Exchange/AD, one AD, one file server, one SQL server,
>all running terminal server).
>
>It also fails/hangs randomly when I run it from a command prompt manually.
>There are no system logs about a failed job, ntbackup log is empty, and
>ntbackup GUI itself doesn't show up (even when I run the script from the
>command line manually).
>
>Here are the parameters with which I start ntbackup in a bat script (it
>is similar for all 4 servers):
>
>
>set SERVERNAME=SRV1
>set BACKUPTYPE=differential
>p:\soft\pstools\pskill ntbackup
>
>start /wait ntbackup backup C:\ /M %BACKUPTYPE% /SNAPn /F
>"F:\backup\%date%-%SERVERNAME%-C-%BACKUPTYPE%.bkf" /L:s /J
>"%SERVERNAME%-C-%BACKUPTYPE%-%date%"
>
>start /wait ntbackup backup E:\ /M %BACKUPTYPE% /SNAPn /F
>"F:\backup\%date%-%SERVERNAME%-E-%BACKUPTYPE%.bkf" /L:s /J
>"%SERVERNAME%-E-%BACKUPTYPE%-%date%"
>
>start /wait ntbackup backup "@F:\backup\F.bks" /M %BACKUPTYPE% /SNAPn
>/F "F:\backup\%date%-%SERVERNAME%-F-%BACKUPTYPE%.bkf" /L:s /J
>"%SERVERNAME%-F-%BACKUPTYPE%-%date%"
>
>start /wait ntbackup backup "@F:\backup\exchange.bks" /M %BACKUPTYPE%
>/SNAPn /F "F:\backup\%date%-%SERVERNAME%-exchange-%BACKUPTYPE%.bkf"
>/L:s /D "%SERVERNAME%-exchange-%BACKUPTYPE%-%date%" /J
>"%SERVERNAME%-exchange-%BACKUPTYPE%-%date%"
>
>start /wait ntbackup backup systemstate /M normal /SNAPn /F
>"F:\backup\%date%-%SERVERNAME%-systemstate.bkf" /L:s /J
>"%SERVERNAME%-systemstate-%date%"
>
>
>It fails randomly on C:\, E:\, F:\, exchange or systemstate (on any of
>the 4 servers) - the command prompt shows ntbackup process started
>(start /wait ntbackup backup...), but no GUI appears, no log, no
>ntbackup.log, no .bkf file created, it just hangs like that forever (but
>the Task Manager show that ntbackup is running).
>
>
>
>With the same parameters it doesn't hang/fail on Windows 2000 (but the
>/SNAPn function isn't used then, as it's not available in 2000).
>
>I triad using ntbackup binary from Win 2003 SP1 (with no SP1 applied),
>but it fails, too.
>
>I have found some similar problems on google with ntbackup failing
>randomly when run from the command prompt, but none had any solution.
>
>Anyone experiencing this also?
>
>Tomek


 
Reply With Quote
 
 
 
 
Tomasz Chmielewski
Guest
Posts: n/a

 
      04-26-2005
Jerold Schulman wrote:
> I would try scheduling this job in the context of a ScheduleOnly Admin that never logs on.


You mean creating a user with administrative rights (like joe.admin),
and run the backup process with his credentials?

OK I'll try that, maybe it'll help (though I doubt, really - why should
it help?).


Tomek


 
Reply With Quote
 
Jerold Schulman
Guest
Posts: n/a

 
      04-26-2005
On Tue, 26 Apr 2005 16:14:42 +0200, Tomasz Chmielewski <> wrote:

>Jerold Schulman wrote:
>> I would try scheduling this job in the context of a ScheduleOnly Admin that never logs on.

>
>You mean creating a user with administrative rights (like joe.admin),
>and run the backup process with his credentials?
>
>OK I'll try that, maybe it'll help (though I doubt, really - why should
>it help?).
>
>
>Tomek
>

Yes, that is what I meant.
It may help because do this loads the clean uncluttered joeAdmin user profile.

 
Reply With Quote
 
Tomasz Chmielewski
Guest
Posts: n/a

 
      04-26-2005
Jerold Schulman wrote:
> On Tue, 26 Apr 2005 16:14:42 +0200, Tomasz Chmielewski <> wrote:
>
>
>>Jerold Schulman wrote:
>>
>>>I would try scheduling this job in the context of a ScheduleOnly Admin that never logs on.

>>
>>You mean creating a user with administrative rights (like joe.admin),
>>and run the backup process with his credentials?
>>
>>OK I'll try that, maybe it'll help (though I doubt, really - why should
>>it help?).
>>
>>
>>Tomek
>>

>
> Yes, that is what I meant.
> It may help because do this loads the clean uncluttered joeAdmin user profile.


OK, I'll try that.
Today I removed /SNAPn from my scripts to see if this issue has
anything to do with a volume shadow copy.
I'll try the admin trick, too.


Tomek
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003 account configuration fails Wolf Windows 64 Bit 7 07-23-2005 11:03 AM
Outlook 2003 account configuration fails dhdubois Windows 64 Bit 7 07-15-2005 01:38 PM
Bad_Pool_Caller Windows Server 4 06-04-2005 01:32 AM
Re: ntabckup fails randomly in 2003 (run from batch) Pegasus \(MVP\) Windows Server 1 04-26-2005 12:32 PM
Re: DHCP not working on Windows 2003 Server Joseph J. Hand Windows Server 1 10-08-2004 05:16 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59