Re: Daily backup fails to run after first day
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Mon, 12 Sep 2005 17:58:08 +1000
Your cute but rather irrelevant stroll down memory lane leaves
us with lots of unanswered questions. You say that changing the
user name from local admin to domain admin solved your
problems. Well . . .
Here is what you wrote. I quote from your posts:
======================
The account is authorized, because the scheduled job runs once but fails the
second time.
and:
I repeat again. The scheduled backup job runs the first time, for example, I
schedule it for tomorrow September 10 at 2:00 AM and then every day. It will
run tomorrow OK but fails on September 11 and later.
I have a deep suspicion that parameter "INCREMENTAL" somehow influences it.
I don't know NTBACKUP very well (never worked on NT).
and:
The job runs if it is issued through command prompt.
(Did you run it under the same account under the Command
Prompt as under the Task Scheduler? If not, why did you
not tell us that you changed accounts?)
======================
The batch file I suggested would have told us straight away
what was going on, because it would have logged the user name!
Somehow I feel that either your testing technique is inconsistent,
or that you are not completely open and honest in your reporting.
"Sergey Usov" <sergeyusov@xxxxxxxxx> wrote in message
news:unrPem2tFHA.204@xxxxxxxxxxxxxxxxxxxxxxx
> I changed username from Administrator (local computer) to domain user and
> everything works just fine. There's no need to run batch file.
>
> Not that I'm lazy. I worked on IBM 7094 II (if you know what it is) in
> FORTRAN and assembler and wrote the first interactive text editor in the
> Soviet Union. The terminals were teletypes with 50 baud. That was 30 years
> ago. Unfortunately we were not allowed to make millions of dollars at that
> time like you guys. Now we're living in completely different country. I
> remember also time when VAX 11/780 was the BEST computer in the world
(from
> the programmer's point of view).
>
> Sergey
>
> "Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
> news:%238A20GRtFHA.2472@xxxxxxxxxxxxxxxxxxxxxxx
> > There is a need to distinguish clearly if the scheduled job
> > fails to launch, or if it launches but failes to complete as
> > it should. I urge you to embed it in a batch file like so:
> >
> > @echo off
> > echo %date% %time% Start of task > c:\test.log
> > echo User=%UserName%, Path=%path% >> c:\test.log
> > nbackup.exe /.. /.. /.. 1>>c:\test.log 2>c:\test.err
> > echo ErrorLevel of NTBackup.exe=%ErrorLevel% >> c:\test.log
> > echo %date% %time% End of task >> c:\test.log
> >
> > Copy the "ntbackup.exe" command line from the scheduled
> > task into your batch file.
> >
> > Invoke this batch file repeatedly from a Command Prompt and
> > examine the two log files each time.
> > - Does the job start every time?
> > - Does ntbackup complete every time?
> > - Are there any issues with incremental backup etc?
> >
> > Now invoke the batch file several times with the Task Scheduler,
> > and examine the log files again. Any difference?
> >
> > You must also examine the following log files:
> > - Event logs
> > - Task Scheduler logs
> > - NTBackup logs
> >
> > After examining these four log files you will have a pretty good
> > picture about what is really happening!
> >
> >
> > "Sergey Usov" <sergeyusov@xxxxxxxxx> wrote in message
> > news:uZgKL6PtFHA.1440@xxxxxxxxxxxxxxxxxxxxxxx
> >> The account is authorized, because the scheduled job runs once but
fails
> > the
> >> second time.
> >> The job runs if it is issued through command prompt, it even runs
through
> >> Backup/restore wizard if one chooses parameter "NOW".
> >> I repeat again. The scheduled backup job runs the first time, for
> >> example,
> > I
> >> schedule it for tomorrow September 10 at 2:00 AM and then every day. It
> > will
> >> run tomorrow OK but fails on September 11 and later.
> >> I have a deep suspicion that parameter "INCREMENTAL" somehow influences
> > it.
> >> I don't know NTBACKUP very well (never worked on NT). By the way,
what's
> > the
> >> difference between "INCREMENTAL" and "DAYLY". The HELP about NTBACKUP
> > gives
> >> vague explanation, besides it is in Russian. Unfortunately we bought it
> >> legally and it's too late to switch to English version.
> >> "Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
> >> news:%23PytBfOtFHA.1252@xxxxxxxxxxxxxxxxxxxxxxx
> >> > You must ensure through System Policy that the account you use
> >> > for the scheduled task is authorised to log in as a batch job.
> >> >
> >> > I note that you never responded to my initial suggestion of
> >> > running the job manually in order to see what's going on.
> >> >
> >> >
> >> >
> >> > "Sergey Usov" <sergeyusov@xxxxxxxxx> wrote in message
> >> > news:u8mYWAJtFHA.3188@xxxxxxxxxxxxxxxxxxxxxxx
> >> >> I'll try to rephrase.
> >> >> "0x80070569 The system is not logged in. The chosen mode of logging
> > into
> >> >> system
> >> >> for this user at this computer is not valid. Check username and
> > password"
> >> >> The idea is: the backup job was created. The first time it starts
and
> >> > works
> >> >> even when nobody is logged into server, for example, at 2:00 AM. The
> > next
> >> >> time, when Task Scheduler wakes it up, it issues this error message.
> > The
> >> >> server is working, nobody's logged in, it's night time again. Why it
> >> >> needs
> >> >> "logging into system"?
> >> >> "Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
> >> >> news:eiKrbzHtFHA.2756@xxxxxxxxxxxxxxxxxxxxxxx
> >> >> > I'm afraid your translated error messages don't mean much to me -
> >> >> > they are too far from the English equivalent. I recommend that you
> >> >> > repost your query in a Russian newsgroup.
> >> >> >
> >> >> >
> >> >> > "Sergey Usov" <sergeyusov@xxxxxxxxx> wrote in message
> >> >> > news:uikZ1lHtFHA.3236@xxxxxxxxxxxxxxxxxxxxxxx
> >> >> >> Unfortunately it's Russian version. I'll translate.
> >> >> >> The code is:
> >> >> >> 0x80070569 The system is not entered. The chosen mode of entering
> >> > system
> >> >> > for
> >> >> >> this user at this computer is not envisioned. Check validity of
> >> >> >> user
> >> > and
> >> >> >> password and repeat.
> >> >> >> ====
> >> >> >> The user is "Administrator" (in Russian letters, since it is a
> > default
> >> >> >> Administrator), the password is correct, it was checked by the
> > system
> >> >> >> when
> >> >> > I
> >> >> >> used wizard.
> >> >> >> The server is on domain. The "Adminstrator" is logged in locally
on
> >> >> >> computer, not on domain. I have a "user name" in domain with
> >> >> >> limited
> >> >> >> administrator rights, for example, I can't add new computer to
> >> >> >> domain..
> >> >> > This
> >> >> >> server belongs to our department, the domain is quite big and
> >> >> >> complicated.
> >> >> >> Right now I'll create another job with domain user name and
> >> >> >> schedule
> >> >> >> it
> >> >> > for
> >> >> >> tonight and next days. frankly speaking I tried it several times
> >> >> >> before
> >> >> > with
> >> >> >> the same error.
> >> >> >> Thank you for prompt reply, I really didn't expect it.
> >> >> >> Sergey
> >> >> >> "Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
> >> >> >> news:uvBpxpEtFHA.1472@xxxxxxxxxxxxxxxxxxxxxxx
> >> >> >> >
> >> >> >> > "Sergey Usov" <sergeyusov@xxxxxxxxx> wrote in message
> >> >> >> > news:OK%23wqSEtFHA.2948@xxxxxxxxxxxxxxxxxxxxxxx
> >> >> >> >> On Windows Server 2003 I create a job by Backup/restore wizard
> >> >> >> >> to
> >> > make
> >> >> >> >> incremental backups of a directory every day. The first day
> > Backup
> >> >> >> >> runs
> >> >> >> > OK.
> >> >> >> >> The next and subsiquent days it fails. No logs. In scheduler
it
> >> >> > reports -
> >> >> >> >> run fails.
> >> >> >> >>
> >> >> >> >
> >> >> >> > - Please post the exact error message you see in
> >> >> >> > Task Scheduler log file, word for word.
> >> >> >> >
> >> >> >> > - What happens when you copy the backup command line from
> >> >> >> > the scheduled task into a batch file, then run the batch
> >> >> >> > file from the Command Prompt?
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>
.
- References:
- Dayly backup fails to run after first day
- From: Sergey Usov
- Re: Dayly backup fails to run after first day
- From: Pegasus \(MVP\)
- Re: Dayly backup fails to run after first day
- From: Sergey Usov
- Re: Dayly backup fails to run after first day
- From: Pegasus \(MVP\)
- Re: Dayly backup fails to run after first day
- From: Sergey Usov
- Re: Dayly backup fails to run after first day
- From: Pegasus \(MVP\)
- Re: Dayly backup fails to run after first day
- From: Sergey Usov
- Re: Dayly backup fails to run after first day
- From: Pegasus \(MVP\)
- Re: Dayly backup fails to run after first day
- From: Sergey Usov
- Dayly backup fails to run after first day
- Prev by Date: Re: Installation problem
- Next by Date: SATA onboard connector
- Previous by thread: Re: Dayly backup fails to run after first day
- Next by thread: RE: Searching for text string in explorer
- Index(es):