![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 >> Yes, I have seen that. But, as you said, it doesn't answer my question. Dick |
My System Specs![]() |
| | #4 (permalink) |
| Vista Ultimate 32 bit & Home Premium 32 bit | Re: 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 Specs![]() |
| | #5 (permalink) |
| | 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 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 Specs![]() |
| | #6 (permalink) |
| | 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 Specs![]() |
| | #7 (permalink) |
| | 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 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 Specs![]() |
| | #8 (permalink) |
| | 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. 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. 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 Specs![]() |
| | #9 (permalink) |
| | 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. > 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 Specs![]() |
| | #10 (permalink) |
| | 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. ss. |
My System Specs![]() |
![]() |
| 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 | |||