Re: back not backing up
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Sat, 19 Nov 2005 08:42:59 +1100
I'm glad to read that the backup log files were there after
all. If you're serious about your backup operation then
you will have to examine them once a week.
You're not telling us what you're backing up to. I suspect
it's a networked drive. I also suspect that you're using
an account for the scheduled task that has insufficient
access rights to that drive. Copy the command line from
the scheduled task into the following batch file:
@echo off
echo %date% %time% Start of task > c:\test.log
echo User=%UserName%, Path=%path% >> c:\test.log
md x:\Test 1>>c:\test.log 2>c:\test.err
ntbackup @... / / / 1>>c:\test.log 2>c:\test.err
echo ErrorLevel of c:\Tools\YourTask.exe=%ErrorLevel% >> c:\test.log
echo %date% %time% End of task >> c:\test.log
Where it says "md x:\Test", place your actual backup drive letter.
Now run this batch file under the Task Scheduler, then examine
the two log files. I suspect it will make it very clear why your
jobs fail.
"alex" <alex@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EC96587E-4A56-4B60-8F89-70F4B9E5F5B9@xxxxxxxxxxxxxxxx
> they say Cannot locate the specified media or backup device. This backup
> operation will terminate.
>
>
> When i do it myself it works but what can i do to make it work by Task
> Scheduler ?
>
> "Pegasus (MVP)" wrote:
>
> > Look in "c:\documents and settings" for files called
> > "backup*.log". They are located in the profile folder
> > of the account under which you ran the backup job.
> > The command
> > dir /s "%userprofile%\..\backup*.log"
> > will find them for you if you still think they are not there.
> > What do they contain?
> >
> >
> > "alex" <alex@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:177B17EA-FD7B-4650-B7A9-31CF1AC45447@xxxxxxxxxxxxxxxx
> > > I don't have log files and the event log doesn't say much besides RSM
was
> > > started and then the next event says RSM was stopped. Like it tried
but
> > did
> > > go....
> > >
> > >
> > > "Pegasus (MVP)" wrote:
> > >
> > > >
> > > > "alex" <alex@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > > > news:4A1A3314-45C4-4F8E-B6D3-38D535A5BA9A@xxxxxxxxxxxxxxxx
> > > > > All of our servers are running w2k3 and using the back-up software
> > that
> > > > comes
> > > > > with it, i have it the servers to be backed up with Scheduled
Tasks
> > and do
> > > > > full back-ups and overwrite whatever is on the tape but it's not
> > working.
> > > > If
> > > > > i do manually it works fine what can i do to make this work?
> > > >
> > > > There are three types of logs that relate to scheduled
> > > > backup jobs that use ntbackup.exe:
> > > > - The event logger
> > > > - backupxx.log in your profile folder
> > > > - The log maintained by the Task Scheduler under "Advanced".
> > > >
> > > > What do they report?
> > > >
> > > >
> > > >
> >
> >
> >
.
- Follow-Ups:
- Re: back not backing up
- From: alex
- Re: back not backing up
- References:
- Re: back not backing up
- From: Pegasus \(MVP\)
- Re: back not backing up
- From: Pegasus \(MVP\)
- Re: back not backing up
- Prev by Date: Re: drive space
- Next by Date: Remote File Access
- Previous by thread: Re: back not backing up
- Next by thread: Re: back not backing up
- Index(es):
Relevant Pages
|