Re: Scheduled backups fail to start
- From: Frances Butcher <FrancesButcher@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 10 Jan 2008 06:15:01 -0800
You are correct - it seems that we cannot run any scheduled tasks (I had not
tried this before) - when I try to run the batch file as you suggest it fails
the same as the backup tasks. --Normally the backup jobs are the only
scheduled tasks that we run.
I did briefly wonder if it was something to do with the permissions or
authorities as this server runs as a quasi BDC with our other Win2003 server
as the PDC. However absolutely nothing has been changed on either server and
I have rebooted both servers in the hope that any loss of connections would
be resolved.
"Pegasus (MVP)" wrote:
Let's move away from your backup jobs for a moment. Can.
you schedule any tasks at all? Can you run this batch file as
a scheduled task?
@echo off
echo %date% %time% >> c:\test.log
"Frances Butcher" <FrancesButcher@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:CA4B5B67-7743-4350-89B8-AB3503CEE435@xxxxxxxxxxxxxxxx
Sorry this is not something which we have a great deal of experience in.
I am not quite sure what you mean or how we can tell what type of backup
is
created by the Backup icon. It creates a job which shows in Accessories,
System tools, scheduled tasks. When I right click and choose properties
for
one of the backup tasks, first the error (keyset does not exist) shows and
then in the Run box the details "MON" /l:s /g
"bfdf13a7-555d-43f5-af7d-3fb9dcbaa0a4" show. There is a browse button here
but due to the errors it does not work. When the list of scheduled tasks
is
open all the backups have a status of 'Could not start' and Last result of
'0x0'.
Reviewing all the old log files again it seems that the last time the
backup
job started correctly was on the 21st Dec. On this date it failed at the
verify stage due to a ....Hardware or media error.... , this is not
unusual,
it happens maybe once every two months, so I created a new media and ran
the
backup manually. - But I dont think this is connected to the error.
The log file C:\test.log says the following:
The backup job started on 07/10/2008 at 16.53.56.88. Account=Administrator
The backup job ended on 07/10/2008 at 16.54.02.18.
It says the same message (different times) each time we run it as you
suggested in a batch file.
When I try to look at the Application logs for the nights of the 20th
(successful) and 21st (unsucessful), I notice that at the time the backup
failed (during D drive verify stage) the error Event ID 1030, Source
Userenv
was logged, followed by error Event ID 1058. Source Userenv -I do not know
if
this has any relevance.
Beyond this I am afraid we are out of our depth as to finding the reason.
Many thanks for your help.
Regards
"Pegasus (MVP)" wrote:
Your reply is inconclusive:
- When you scheduled your backup, did you schedule the ntbackup.exe
command or did you schedule a batch file to run?
- If it is the batch file, what does it look like?
- What is the contents of the log file c:\test.log?
"Frances Butcher" <FrancesButcher@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:EAE9D8E5-6D03-4CBB-9471-40AAAD3E2D77@xxxxxxxxxxxxxxxx
Hi and thanks for your help.
The .bks file contains the following:
C:\
D:\
Systemstate
Normally we run and manage the Backups and schedule entirely through
the
GUI
located in Accessories, System tools, Backup.
When we try to run in a batch file as you suggested then a log is made
which
is visible in the Backup GUI.
When we run using batch file it seems ok but when i try to run using
the
scheduler the '0x80090016: keyset does not exist' message appears
again. -
I
think message may be the key to the problem.
Any more ideas or assistance is definately welcome.
Thanks and regards
Frances.
"Pegasus (MVP)" wrote:
"Frances Butcher" <FrancesButcher@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:3624C5FC-D93B-4046-9F14-BE8D7866B826@xxxxxxxxxxxxxxxx
We have been using Win Backup on Win Svr 2003 for at least 18months
now
and
suddenly it is refusing to work. If I run a manual backup it backs
up
no
problem. However the scheduled backups do not start. No log is
generated
in
the backup GUI and the very few messages which appear in the event
viewer
do
not seem applicable. I have rebooted the server and also deleted and
recreated all the scheduled tasks and media but it has made no
difference. -
The only clue I have is that if I select properties on any of the
tasks
then
the following error appears:
General page initialization failed. The specific error is:
0x80090016:keyset does not exist. An error has occurred attempting
to
retrieve task account information you may continue editing the task
object, but will be unable to change the task ac info.
No changes have been made to the system and a similar server on the
network
does not give this error. Currently we are on Win Svr 2003 SP1. I
have
not
tried to upgrade to SP2 yet.
Can anyone assist please?
Your first job should be to establish if the task does start or
not. Even though you think that it does not, I suspect that it
does. Grab the command line from the scheduled task and
insert it into a batch file like so:
@echo off
echo The backup job started on %date% at %time%. Account=%UserName% >>
c:\test.log
ntbackup /.. /.. /..
echo The backup job ended on %date% at %time%. >> c:\test.log
echo. >> c:\test.log
Now use the Task Scheduler to run this job instead of ntbackup.exe,
then have a look at c:\test.log
It would also help if you posted the exact command line you
currently have, and the contents of your .bks file.
- Follow-Ups:
- Re: Scheduled backups fail to start
- From: Pegasus \(MVP\)
- Re: Scheduled backups fail to start
- References:
- Re: Scheduled backups fail to start
- From: Pegasus \(MVP\)
- Re: Scheduled backups fail to start
- From: Frances Butcher
- Re: Scheduled backups fail to start
- From: Pegasus \(MVP\)
- Re: Scheduled backups fail to start
- From: Frances Butcher
- Re: Scheduled backups fail to start
- From: Pegasus \(MVP\)
- Re: Scheduled backups fail to start
- Prev by Date: Re: Problems viewing event viewer on remote PC
- Next by Date: Re: Password Policy + Cached user
- Previous by thread: Re: Scheduled backups fail to start
- Next by thread: Re: Scheduled backups fail to start
- Index(es):