Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Robocopy question using Vista

Reply
 
Old 09-16-2008   #1 (permalink)
Dick


 
 

Robocopy question using Vista

I use robocopy to backup critical files to my server each night (or
morning). And it works very well. However, I've noticed that if I run the
exact same routine 2 times in a row, it still copies some number of files
each time. Granted it's a small number of files (say 6 out of 200). I'm
just curious if anyone else has noticed this behavior and if you have any
ideas why this happens. I know that none of the files have changed between
to successive runs. I have included the contents of my batch file below
(it's really quite simple):

@echo off
echo .
echo Begin Synchronizing...
echo .
cd c:\Scripts
echo Synchronizing Foo
robocopy "c:\Users\owner\documents\Foo" "\\avalon\Bar" /mir /log:sync.log


Any ideas?

Dick


My System SpecsSystem Spec
Old 09-16-2008   #2 (permalink)
Theory of Everything


 
 

Re: Robocopy question using Vista

not answering directly to your question, but have you seen this?

http://www.mydigitallife.info/2007/0...free-download/



"Dick" <rsutton43@xxxxxx> wrote in message
news:OSQEJjBGJHA.1372@xxxxxx
Quote:

> I use robocopy to backup critical files to my server each night (or
> morning). And it works very well. However, I've noticed that if I run
> the exact same routine 2 times in a row, it still copies some number of
> files each time. Granted it's a small number of files (say 6 out of 200).
> I'm just curious if anyone else has noticed this behavior and if you have
> any ideas why this happens. I know that none of the files have changed
> between to successive runs. I have included the contents of my batch file
> below (it's really quite simple):
>
> @echo off
> echo .
> echo Begin Synchronizing...
> echo .
> cd c:\Scripts
> echo Synchronizing Foo
> robocopy "c:\Users\owner\documents\Foo" "\\avalon\Bar" /mir /log:sync.log
>
>
> Any ideas?
>
> Dick
>
My System SpecsSystem Spec
Old 09-16-2008   #3 (permalink)
Dick


 
 

Re: Robocopy question using Vista


"Theory of Everything" <Callme@xxxxxx> wrote in message
news:48d00df1$1@xxxxxx-privat.org...
Quote:

> not answering directly to your question, but have you seen this?
>
> http://www.mydigitallife.info/2007/0...free-download/
>
>
>
> "Dick" <rsutton43@xxxxxx> wrote in message
> news:OSQEJjBGJHA.1372@xxxxxx
Quote:

>> I use robocopy to backup critical files to my server each night (or
>> morning). And it works very well. However, I've noticed that if I run
>> the exact same routine 2 times in a row, it still copies some number of
>> files each time. Granted it's a small number of files (say 6 out of
>> 200). I'm just curious if anyone else has noticed this behavior and if
>> you have any ideas why this happens. I know that none of the files have
>> changed between to successive runs. I have included the contents of my
>> batch file below (it's really quite simple):
>>
>> @echo off
>> echo .
>> echo Begin Synchronizing...
>> echo .
>> cd c:\Scripts
>> echo Synchronizing Foo
>> robocopy "c:\Users\owner\documents\Foo" "\\avalon\Bar" /mir /log:sync.log
>>
>>
>> Any ideas?
>>
>> Dick
>>
Thanks Theory,

Yes, I have seen that. But, as you said, it doesn't answer my question.

Dick

My System SpecsSystem Spec
Old 09-16-2008   #4 (permalink)


Vista Ultimate 32 bit & Home Premium 32 bit
 
 

Re: Robocopy question using Vista

Quote  Quote: Originally Posted by Dick View Post
I use robocopy to backup critical files to my server each night (or
morning). And it works very well. However, I've noticed that if I run the
exact same routine 2 times in a row, it still copies some number of files
each time. Granted it's a small number of files (say 6 out of 200). I'm
just curious if anyone else has noticed this behavior and if you have any
ideas why this happens. I know that none of the files have changed between
to successive runs. I have included the contents of my batch file below
(it's really quite simple):

@echo off
echo .
echo Begin Synchronizing...
echo .
cd c:\Scripts
echo Synchronizing Foo
robocopy "c:\Users\owner\documents\Foo" "\\avalon\Bar" /mir /log:sync.log


Any ideas?

Dick
By any chance, those few files that get re-copied, do they change in some way on a regular basis? Sounds like Robocopy sees them as being written to again, thus needing to re-copy them.
My System SpecsSystem Spec
Old 09-16-2008   #5 (permalink)
newsgroups.comcast.net


 
 

Re: Robocopy question using Vista


"pweegar" <guest@xxxxxx-email.com> wrote in message
news:24b058eed52b4ff0a2e80ef73c936059@xxxxxx-gateway.com...
Quote:

>
> Dick;837500 Wrote:
Quote:

>> I use robocopy to backup critical files to my server each night (or
>> morning). And it works very well. However, I've noticed that if I run
>> the
>> exact same routine 2 times in a row, it still copies some number of
>> files
>> each time. Granted it's a small number of files (say 6 out of 200). I'm
>> just curious if anyone else has noticed this behavior and if you have
>> any
>> ideas why this happens. I know that none of the files have changed
>> between
>> to successive runs. I have included the contents of my batch file below
>> (it's really quite simple):
>>
>> @echo off
>> echo .
>> echo Begin Synchronizing...
>> echo .
>> cd c:\Scripts
>> echo Synchronizing Foo
>> robocopy "c:\Users\owner\documents\Foo" "\\avalon\Bar" /mir
>> /log:sync.log
>>
>>
>> Any ideas?
>>
>> Dick
>
> By any chance, those few files that get re-copied, do they change in
> some way on a regular basis? Sounds like Robocopy sees them as being
> written to again, thus needing to re-copy them.
>
>
> --
> pweegar
pweegar,

No, as I said in the first post I simply run the bat file and then run it
again and I notice that some files are recopied. I first thought that it
might have someting to do with the archive bit, but that doesn't seem to be
the case upon further inspection. It appears to do no harm, I just wondered
if anyone knew why some files are recopied.

Dick

My System SpecsSystem Spec
Old 09-17-2008   #6 (permalink)
Warp 10


 
 

Re: Robocopy question using Vista

I suspect that some files are locked because vista is reading them, and
robocopy "chokes" on those and aborts the procedure,
the first time around.

I have seen that with vista its much harder to unlock files than with xp...
I use a program called unlocker, but it cant do all vista files as it could
wo with xp.

Vista has better security... so good that it doesn't let YOU do what you
want with your files.. LOL

vista sucks..

"newsgroups.comcast.net" <rsutton43@xxxxxx> wrote in message
news:eUWUYdGGJHA.3616@xxxxxx
Quote:

>
> "pweegar" <guest@xxxxxx-email.com> wrote in message
> news:24b058eed52b4ff0a2e80ef73c936059@xxxxxx-gateway.com...
Quote:

>>
>> Dick;837500 Wrote:
Quote:

>>> I use robocopy to backup critical files to my server each night (or
>>> morning). And it works very well. However, I've noticed that if I run
>>> the
>>> exact same routine 2 times in a row, it still copies some number of
>>> files
>>> each time. Granted it's a small number of files (say 6 out of 200). I'm
>>> just curious if anyone else has noticed this behavior and if you have
>>> any
>>> ideas why this happens. I know that none of the files have changed
>>> between
>>> to successive runs. I have included the contents of my batch file below
>>> (it's really quite simple):
>>>
>>> @echo off
>>> echo .
>>> echo Begin Synchronizing...
>>> echo .
>>> cd c:\Scripts
>>> echo Synchronizing Foo
>>> robocopy "c:\Users\owner\documents\Foo" "\\avalon\Bar" /mir
>>> /log:sync.log
>>>
>>>
>>> Any ideas?
>>>
>>> Dick
>>
>> By any chance, those few files that get re-copied, do they change in
>> some way on a regular basis? Sounds like Robocopy sees them as being
>> written to again, thus needing to re-copy them.
>>
>>
>> --
>> pweegar
>
> pweegar,
>
> No, as I said in the first post I simply run the bat file and then run it
> again and I notice that some files are recopied. I first thought that it
> might have someting to do with the archive bit, but that doesn't seem to
> be the case upon further inspection. It appears to do no harm, I just
> wondered if anyone knew why some files are recopied.
>
> Dick
>
My System SpecsSystem Spec
Old 09-17-2008   #7 (permalink)
Synapse Syndrome


 
 

Re: Robocopy question using Vista

"Dick" <rsutton43@xxxxxx> wrote in message
news:OSQEJjBGJHA.1372@xxxxxx
Quote:

>I use robocopy to backup critical files to my server each night (or
>morning). And it works very well. However, I've noticed that if I run the
>exact same routine 2 times in a row, it still copies some number of files
>each time. Granted it's a small number of files (say 6 out of 200). I'm
>just curious if anyone else has noticed this behavior and if you have any
>ideas why this happens. I know that none of the files have changed between
>to successive runs. I have included the contents of my batch file below
>(it's really quite simple):
>
> @echo off
> echo .
> echo Begin Synchronizing...
> echo .
> cd c:\Scripts
> echo Synchronizing Foo
> robocopy "c:\Users\owner\documents\Foo" "\\avalon\Bar" /mir /log:sync.log
Is it copying the other way though? Is it mirroring back to the original
folder? If it is, it could be doing that as the Modified Dates on the new
copies are later than the originals.

I never use the /MIR switch, as it is too basic. Does it even cater for
newer file versions? If not, you fail to back up valuable data. I use
XXCOPY now a lot more, as it has more options, and can copy over File
Created, Modified and Last Accessed timestamps on files, and all three
timestamps on folders too. The free version prompts you though, so I still
use Robocopy a lot on all scheduled scripting.

ss.


My System SpecsSystem Spec
Old 09-17-2008   #8 (permalink)
Synapse Syndrome


 
 

Re: Robocopy question using Vista

"Warp 10" <warpe@xxxxxx> wrote in message
news:48d0bb7a@xxxxxx-privat.org...
Quote:

>I suspect that some files are locked because vista is reading them, and
>robocopy "chokes" on those and aborts the procedure,
> the first time around.
It won't be anything to do with that, as the files can still be read, and he
said that they are being re-copied.
Quote:

> I have seen that with vista its much harder to unlock files than with
> xp... I use a program called unlocker, but it cant do all vista files as
> it could wo with xp.
That Unlocker thing sucks, is it requires backup and debug privileges, so
can only be run as administrator, in XP, or you have to seriously weaken
security to give user accounts those privileges (massive no-no). It might
be handy for newbies, but that way of using the computer would lead to bad
security and being affected by malware. That is the whole reason UAC came
about.

ss.


My System SpecsSystem Spec
Old 09-17-2008   #9 (permalink)
Dick


 
 

Re: Robocopy question using Vista


"Synapse Syndrome" <synapse@xxxxxx> wrote in message
news:OT4W1ULGJHA.196@xxxxxx
Quote:

> "Dick" <rsutton43@xxxxxx> wrote in message
> news:OSQEJjBGJHA.1372@xxxxxx
Quote:

>>I use robocopy to backup critical files to my server each night (or
>>morning). And it works very well. However, I've noticed that if I run
>>the exact same routine 2 times in a row, it still copies some number of
>>files each time. Granted it's a small number of files (say 6 out of 200).
>>I'm just curious if anyone else has noticed this behavior and if you have
>>any ideas why this happens. I know that none of the files have changed
>>between to successive runs. I have included the contents of my batch file
>>below (it's really quite simple):
>>
>> @echo off
>> echo .
>> echo Begin Synchronizing...
>> echo .
>> cd c:\Scripts
>> echo Synchronizing Foo
>> robocopy "c:\Users\owner\documents\Foo" "\\avalon\Bar" /mir /log:sync.log
>
> Is it copying the other way though? Is it mirroring back to the original
> folder? If it is, it could be doing that as the Modified Dates on the new
> copies are later than the originals.
>
> I never use the /MIR switch, as it is too basic. Does it even cater for
> newer file versions? If not, you fail to back up valuable data. I use
> XXCOPY now a lot more, as it has more options, and can copy over File
> Created, Modified and Last Accessed timestamps on files, and all three
> timestamps on folders too. The free version prompts you though, so I
> still use Robocopy a lot on all scheduled scripting.
>
> ss.
>
Synapse,

The documentation says that /mir is equivalent to /E /PURGE. It is a
one-way copy. In fact, I can run the bat file n times successively and it
still copies the same few files everytime. I am really interested in why
this is. I keep telling myself that it must be something simple.

Dick

My System SpecsSystem Spec
Old 09-17-2008   #10 (permalink)
Synapse Syndrome


 
 

Re: Robocopy question using Vista

"Dick" <rsutton43@xxxxxx> wrote in message
news:OTLW%23FMGJHA.5944@xxxxxx
Quote:
Quote:
Quote:

>>>I use robocopy to backup critical files to my server each night (or
>>>morning). And it works very well. However, I've noticed that if I run
>>>the exact same routine 2 times in a row, it still copies some number of
>>>files each time. Granted it's a small number of files (say 6 out of
>>>200). I'm just curious if anyone else has noticed this behavior and if
>>>you have any ideas why this happens. I know that none of the files have
>>>changed between to successive runs. I have included the contents of my
>>>batch file below (it's really quite simple):
>>>
>>> @echo off
>>> echo .
>>> echo Begin Synchronizing...
>>> echo .
>>> cd c:\Scripts
>>> echo Synchronizing Foo
>>> robocopy "c:\Users\owner\documents\Foo" "\\avalon\Bar" /mir
>>> /log:sync.log
>>
>> Is it copying the other way though? Is it mirroring back to the original
>> folder? If it is, it could be doing that as the Modified Dates on the
>> new copies are later than the originals.
>>
>> I never use the /MIR switch, as it is too basic. Does it even cater for
>> newer file versions? If not, you fail to back up valuable data. I use
>> XXCOPY now a lot more, as it has more options, and can copy over File
>> Created, Modified and Last Accessed timestamps on files, and all three
>> timestamps on folders too. The free version prompts you though, so I
>> still use Robocopy a lot on all scheduled scripting.
>
> Synapse,
>
> The documentation says that /mir is equivalent to /E /PURGE. It is a
> one-way copy. In fact, I can run the bat file n times successively and it
> still copies the same few files everytime. I am really interested in why
> this is. I keep telling myself that it must be something simple.
Could you paste the log?

ss.


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
question about robocopy Vista General
First Time User of RoboCopy-Syntax Question Vista file management
Is this Robocopy or Vista causing the problem? Vista file management
Vista and Robocopy Vista General
Never robocopy vista user accounts without /xj Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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