Robocopy Error

B

butter

I keep receiving the following error:

2008/05/12 15:19:27 ERROR 6 (0x00000006) Copying File
\\servername\sharename\DOCUMENTS\test123\drawing.vsd
The handle is invalid.

Anybody have any ideas? Robocopy also skips open files. Is there anyway to
avoid this?
 
B

butter

I am using the following options:

/COPYALL /B /SEC /MIR /R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL

Should I just add /b or /zb to these options?
 
B

butter

Here is the batch file I am running:

rem @ECHO OFF
SETLOCAL

SET _source=\\servname\sharename

SET _dest=\\servername\bacckup\sharename

SET _what=/COPYALL /B /SEC /MIR
:: /COPYALL :: COPY ALL file info
:: /B :: copy files in Backup mode.
:: /SEC :: copy files with SECurity
:: /MIR :: MIRror a directory tree

SET _options=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL
:: /R:n :: number of Retries
:: /W:n :: Wait time between retries
:: /LOG :: Output log file
:: /NFL :: No file logging
:: /NDL :: No dir logging

Robocopy %_Source% %_dest% %_what% %_options%
 
B

butter

Anybody have any ideas?

butter said:
Here is the batch file I am running:

rem @ECHO OFF
SETLOCAL

SET _source=\\servname\sharename

SET _dest=\\servername\bacckup\sharename

SET _what=/COPYALL /B /SEC /MIR
:: /COPYALL :: COPY ALL file info
:: /B :: copy files in Backup mode.
:: /SEC :: copy files with SECurity
:: /MIR :: MIRror a directory tree

SET _options=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL
:: /R:n :: number of Retries
:: /W:n :: Wait time between retries
:: /LOG :: Output log file
:: /NFL :: No file logging
:: /NDL :: No dir logging

Robocopy %_Source% %_dest% %_what% %_options%
 
Joined
Feb 6, 2009
Messages
1
Reaction score
0
robocopy 0x00000006 error

May have to run Robocopy with /COPY: DT instead of /COPYALL. It is getting hung up on the file attributes.

http://en.wikipedia.org/wiki/Robocopy#Known_flaws

Not a solution, I know.

butter said:
Anybody have any ideas?

"butter" wrote:

> Here is the batch file I am running:
>
> rem @ECHO OFF
> SETLOCAL
>
> SET _source=\\servname\sharename
>
> SET _dest=\\servername\bacckup\sharename
>
> SET _what=/COPYALL /B /SEC /MIR
> :: /COPYALL :: COPY ALL file info
> :: /B :: copy files in Backup mode.
> :: /SEC :: copy files with SECurity
> :: /MIR :: MIRror a directory tree
>
> SET _options=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL
> :: /R:n :: number of Retries
> :: /W:n :: Wait time between retries
> :: /LOG :: Output log file
> :: /NFL :: No file logging
> :: /NDL :: No dir logging
>
> Robocopy %_Source% %_dest% %_what% %_options%
>
> "Mark L. Ferguson" wrote:
>
> > robocopy /?
> >
> > You want 'backup mode' (/b or /zb)
> >
> > Utility Spotlight Robocopy GUI:
> > http://technet.microsoft.com/en-gb/magazine/cc160891.aspx
> >
> > --
> > Was this helpful? Then click the Ratings button. Voting helps the web
> > interface.
> > http://www.microsoft.com/wn3/locales/help/help_en-us.htm#RateAPostAsAnswer
> > Mark L. Ferguson
> > .
> >
> > "butter" wrote in message
> > news:[email protected]...
> > > I keep receiving the following error:
> > >
> > > 2008/05/12 15:19:27 ERROR 6 (0x00000006) Copying File
> > > \\servername\sharename\DOCUMENTS\test123\drawing.vsd
> > > The handle is invalid.
> > >
> > > Anybody have any ideas? Robocopy also skips open files. Is there anyway
> > > to
> > > avoid this?

> >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top