Re: Scheduled Tasks Doesn't Wait for Backup to Finish



Sorry, I found no attached file. Since c:\log.txt is a text file, you should
open it with notepad.exe, then copy & paste its contents into your respons.


"Frederick R. Hutchings" <frederickh@xxxxxxx> wrote in message
news:uYNKrRU7JHA.5008@xxxxxxxxxxxxxxxxxxxxxxx
Thanks again for all your help. I attached c:\log.txt, backup is
running!.jpg, and DVD Differential.txt in my last post. I'll be more than
happy to resend them. Let me know. log.txt doesn't have much in it. DVD
Differential.txt is Backup MyPC's log.

So there may be a way for Backup MyPC (or Scheduled Tasks?) to wait until
the current Backup MyPC program is finished? That would be great!

Thanks again,
Fred

"Pegasus [MVP]" <news@xxxxxxxxxxxxx> wrote in message
news:uHy7yZL7JHA.5828@xxxxxxxxxxxxxxxxxxxxxxx
*** See below.

"Frederick R. Hutchings" <frederickh@xxxxxxx> wrote in message
news:eLZZ%23RH7JHA.1420@xxxxxxxxxxxxxxxxxxxxxxx
This one runs the batch file you provided with no errors! It seems to
be
running the DVD Differential job, but it is not shown running in
Scheduled
Tasks. Task Manager shows 2 processes running, SBEStart and SBEWin32.
I
don't remember if this normal. I do remember that the original job runs
SBEStart. It backs up and verifies as per the original job.
*** What about the contents of the log file c:\log.txt?

Sorry I missed noticing the trailing colon.
*** No problem.

I'm sorry to hear I may have problems. As you know better than I,
losing
data that is important to you is not acceptable. Backup MyPC has never
given me any problems before.
*** You don't really have a problem. All I meant to say is that Backup
MyPC
*** has a quality control problem when it comes to handling parameters.
*** This won't affect its overall operation.

I can't remember any files not verifying. I
get a bad DVD once in a while, but Backup MyPC tells me. All the files
that
I have ever restored have worked. I have reformatted and reinstalled my
data several times. I have XP SP3 Pro, but I did see once, a few years
back, that Microsoft said that it wouldn't run in Vista. After checking
more recently, it said to un- and re-install it and try it again,
apparently
implying it might work. I do not want a backup product that is in any
way
marginal, however. If a new program is in order, I want one that is
certified for Win 7/Vista.
*** Go on using Backup MyPC!

I only have one license for Backup MyPC, so I only run it on 1 machine.
I
have to back up the other machine from it. After fooling with NTBackup
(it
is either really flaky or I'm having trouble with VSS. A restart
sometimes
corrects it), it hangs while doing the shadow copy a lot. When it does
work, it backs up every file, while Backup MyPC can't get access to a
lot of
files. I've started backing up computers in the workgroup to others
using
the file option.

Please advise me on my options. Is it best for me to get another backup
solution or is the success today a good sign? I'm including a shot of
it running and Backup MyPC's log.
*** To get an answer your original question, you must post the log
*** file c:\log.txt.

Thanks again for ALL your help.

Fred

"Pegasus [MVP]" <news@xxxxxxxxxxxxx> wrote in message
news:uVT$HlA7JHA.4632@xxxxxxxxxxxxxxxxxxxxxxx
The two batch files were different. The first one had this line:
sbestart.exe/SAGERUN:151C: (trailing colon)
and the second one this line:
sbestart.exe/SAGERUN:151C (no trailing colon)

When examining your job file closely I found that it includes a hidden
parameter that is probably used to identify the type of backup to be
run.
In
my previous post I had it slightly wrong, so here is the whole thing
again:
- Run the batch file you see below.
- Does it perform a backup?
- What is the contents of the log file c:\log.txt?
Use cut & paste when creating the batch files. Make sure to run them
from
a
Command Prompt, not from the Start/Run box.

@echo off
echo %date% %time% > c:\log.txt
cd /d "C:\Program Files\StompSoft\Backup MyPC 6\System"
sbestart.exe/SAGERUN:15
echo %date% %time% >> c:\log.txt

The error you report does not shed a good light on your backup utility.
It
means that it has internal problems that are not properly dealt with.


"Frederick R. Hutchings" <frederickh@xxxxxxx> wrote in message
news:O1qLCb66JHA.728@xxxxxxxxxxxxxxxxxxxxxxx
I ran both batch files as you suggested. The 2nd one appeared to be
the
same as the first. I put them in batch files and ran them from the
command
prompt.

The splash screen came up, but then, unfortunately, they both got the
'...has encountered an error and needs to close' message. I made a
shot
of
that dialog from the first one, and then I did a screenshot for the
second.
I have attached them and the logs. Hope that helps. Thanks for
looking
into it.

Fred

"Pegasus [MVP]" <news@xxxxxxxxxxxxx> wrote in message
news:uTRkHbg6JHA.4100@xxxxxxxxxxxxxxxxxxxxxxx
The "Backup Daily.bat" does not tell me a great deal - it is only a
master
module that invokes a bunch of individual submodules.

See what happens when you invoke one of the following batch files.
Here
is
what I would like to know:
- Does the batch file perform a backup?
- What is the contents of the log file c:\log.txt?
Use cut & paste when creating the batch files. Make sure to run them
from
a
Command Prompt, not from the Start/Run box.

@echo off
echo %date% %time% > c:\log.txt
cd /d "C:\Program Files\StompSoft\Backup MyPC 6\System"
sbestart.exe/SAGERUN:151C:
echo %date% %time% > c:\log.txt

@echo off
echo %date% %time% > c:\log.txt
cd /d "C:\Program Files\StompSoft\Backup MyPC 6\System"
sbestart.exe/SAGERUN:151C
echo %date% %time% > c:\log.txt

"Frederick R. Hutchings" <frederickh@xxxxxxx> wrote in message
news:%231$3Iaf6JHA.4356@xxxxxxxxxxxxxxxxxxxxxxx
Here is a job that backup mypc created (DVD Differential). I also
included the batch file that I use to run the job which uses
schtasks.
Of
course the backup job can be run all by itself, but I want the next
job
to
start immediately after this one finishes. There's also the main
batch
file (Backup Daily) that Scheduled Tasks runs. It runs several
batch
files, but it doesn't work. The three backup jobs won't run at the
same
time or run one after the other.

Backup Daily tries to run several backups, but as I said earlier,
Backup
MyPC appears to not allow more than one instance running at the same
time,
so one runs and the rest end in errors.

Don't hesitate to ask for any info that I can provide.

I looked at NTBackup. It would probably work. It seems like I've
seen
it
work both ways. Run two at once or sometimes it waits till the
first
one
finishes. I see what you mean about it, though. It seems finicky.
It
only supports hardware compression. Can you put the backup file in
a
compressed folder? It doesn't seem to support DVDs. They suggested
sending the backup file to a hard disk and then writing it to a DVD.
That
could work for me, if I can figure out how to write to a DVD-RW in a
batch
file, except full backups won't fit on one DVD. I don't know how to
get
around that one. Well, now that I think of it, I guess I could split
the
full backup appropriately so that the separate ones fit on one DVD.
A
lot
more work than it could be.

Is NTBackup included in Vista?
Will it be in Windows 7?
I am happy with Backup MyPC. I have had very few problems with it
till
now. Maybe we can get it going.

Thanks for your help.
Fred

"Pegasus [MVP]" <news@xxxxxxxxxxxxx> wrote in message
news:OHL8WtZ6JHA.4632@xxxxxxxxxxxxxxxxxxxxxxx
Let's have a closer look at your scheduled task: Attach the
relevant
.job
file to your newsgroup reply. You will find it in c:\Windows\tasks.

"Frederick R. Hutchings" <frederickh@xxxxxxx> wrote in message
news:ut2fY$U6JHA.1712@xxxxxxxxxxxxxxxxxxxxxxx
all it puts in the job Run: field is: "C:\Program
Files\StompSoft\Backup
MyPC 6\System\sbestart.exe". the name of the job in scheduled
tasks
is
the same as in backup mypc. maybe it uses the name of the job to
get
the
rest of the information? maybe the .job file has more in it than
i
realized.

fred

"Pegasus [MVP]" <news@xxxxxxxxxxxxx> wrote in message
news:%23ThXhpU6JHA.5828@xxxxxxxxxxxxxxxxxxxxxxx

"Frederick R. Hutchings" <frederickh@xxxxxxx> wrote in message
news:%23HoUqgU6JHA.6004@xxxxxxxxxxxxxxxxxxxxxxx
the program i'm using is backup mypc 6. it doesn't use a
command-line,
but it creates a job in Scheduled Tasks when it is scheduled. i
can
use
schtasks to run the job from a batch file, but schtasks comes
back
immediately saying that it was successful and the batch file
continues
on it's merry way while the backup job is still running. a nice
feature
when you want it, but this time i want it to wait till the
backup
job
finishes. what's the best way of doing this?

another post just suggested ntbackup. what do you think of it?

thanks, fred

You write "It doesn't use a command line". If it doesn't, what
then
is
the command you will see in each scheduled task? I bet it looks
like
a
command line that can be copied & pasted into a batch file!
Whether
the
batch file will execute just one line at a time is another
question -
we'll cross this bridge after you've sorted out the command line
riddle!

About using ntbackup: This is a legacy backup tool that is
difficult
to
use. If you're happy with "Backup MyPC" then continue using it.































.



Relevant Pages

  • Re: Schedule Batch File-How to?
    ... backup with your Robobkup program. ... Panel> Scheduled Task etc. and the batch file name was used as the ... Windows command that you are using within the batch file. ... The properties window for the new scheduled task should now be open. ...
    (microsoft.public.windowsxp.general)
  • Re: Scheduled Tasks Doesnt Wait for Backup to Finish
    ... running the DVD Differential job, but it is not shown running in Scheduled ... get a bad DVD once in a while, but Backup MyPC tells me. ... Run the batch file you see below. ... echo %date% %time%> c:\log.txt ...
    (microsoft.public.windowsxp.general)
  • Re: Scheduled Tasks Doesnt Wait for Backup to Finish
    ... and DVD Differential.txt in my last post. ... Differential.txt is Backup MyPC's log. ... So there may be a way for Backup MyPC to wait until ... Run the batch file you see below. ...
    (microsoft.public.windowsxp.general)
  • Re: Backup utility
    ... You could create the following batch file: ... @echo off ... if %e% GTR 0 echo One or more errors occured during the backup process. ... files from the Source area to the Target area. ...
    (microsoft.public.windowsxp.general)
  • Re: Backup problem
    ... echo Dagen är %dow% ... What do you get when you run this command in a Command Prompt: ... Please attach your batch file to your reply. ...
    (microsoft.public.win2000.general)

Loading