Windows 2000 xcopy

  • Thread starter Thread starter Meinolf Weber
  • Start date Start date
M

Meinolf Weber

Hello Richard,

The /C states "Continues copying even if errors occur." So it seems to be
ok. Do you have any error during copying or does it stop, how do you realize
it?

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

> Hi
>
> I am using xcopy to backup my data, it seems that the data has not
> beed updating.. could be due to permission issues... I think it stops
> when it encounters issues.
>
> How do I add switches to enable it to continue / skip errors when
> copying data. I am now using,
>
> xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y
>
> Help appreciated. Many thanks in advance
>
> Richard
>
 
"Richard" <richardbee@hotmail.com> wrote in message
news:OU9Zj4y4IHA.4448@TK2MSFTNGP05.phx.gbl...
> Hi
>
> I am using xcopy to backup my data, it seems that the data has not beed
> updating.. could be due to permission issues... I think it stops when it
> encounters issues.
>
> How do I add switches to enable it to continue / skip errors when copying
> data. I am now using,
>
> xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y
>
> Help appreciated. Many thanks in advance
>
> Richard
>


You should add some logging so that you can see what's going on:
xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y 1> c:\copy.log
2>&1
 
Hi Meinolf

Thanks for taking time to reply. I tried it again and it was working. Not
sure, but when I checked the folders, it wasn't backed up to the current
date.

Maybe I should try to log it and see what happens.

Thanks again
RIchard

"Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
news:ff16fb66a361f8cab15d14a67064@msnews.microsoft.com...
> Hello Richard,
>
> The /C states "Continues copying even if errors occur." So it seems to be
> ok. Do you have any error during copying or does it stop, how do you
> realize it?
>
> Best regards
>
> Meinolf Weber
> Disclaimer: This posting is provided "AS IS" with no warranties, and
> confers no rights.
> ** Please do NOT email, only reply to Newsgroups
> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>
>> Hi
>>
>> I am using xcopy to backup my data, it seems that the data has not
>> beed updating.. could be due to permission issues... I think it stops
>> when it encounters issues.
>>
>> How do I add switches to enable it to continue / skip errors when
>> copying data. I am now using,
>>
>> xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y
>>
>> Help appreciated. Many thanks in advance
>>
>> Richard
>>

>
>
 
Hi Pegasus

Thanks for taking time to reply. I will try it out but not sure what '
1>c:\copy.log 2>&1 '

Would you mind explaining? Many thanks again.

Richard

"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:%23pMLm%23z4IHA.832@TK2MSFTNGP05.phx.gbl...
>
> "Richard" <richardbee@hotmail.com> wrote in message
> news:OU9Zj4y4IHA.4448@TK2MSFTNGP05.phx.gbl...
>> Hi
>>
>> I am using xcopy to backup my data, it seems that the data has not beed
>> updating.. could be due to permission issues... I think it stops when it
>> encounters issues.
>>
>> How do I add switches to enable it to continue / skip errors when copying
>> data. I am now using,
>>
>> xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y
>>
>> Help appreciated. Many thanks in advance
>>
>> Richard
>>

>
> You should add some logging so that you can see what's going on:
> xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y 1> c:\copy.log
> 2>&1
>
 
Console commands generate two types of output:
- Standard output
- Error output
They can be captured like so:
xcopy . . . . 1>c:\standard.txt
xcopy . . . . 2>c:\error.txt

If you want both outputs in a single file then you can use
this syntax:
xcopy . . . 1>c:\output.txt 2>&1

Note that backing up data without occasionally checking
the command output greatly reduces the dependability of the
backup process. You might, for example, use a Command
Line mailer to send the command output automatically to
yourself, e.g. once every 8 days.


"Richard" <richardbee@hotmail.com> wrote in message
news:%23SbgCn04IHA.4272@TK2MSFTNGP03.phx.gbl...
> Hi Pegasus
>
> Thanks for taking time to reply. I will try it out but not sure what '
> 1>c:\copy.log 2>&1 '
>
> Would you mind explaining? Many thanks again.
>
> Richard
>
> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
> news:%23pMLm%23z4IHA.832@TK2MSFTNGP05.phx.gbl...
>>
>> "Richard" <richardbee@hotmail.com> wrote in message
>> news:OU9Zj4y4IHA.4448@TK2MSFTNGP05.phx.gbl...
>>> Hi
>>>
>>> I am using xcopy to backup my data, it seems that the data has not beed
>>> updating.. could be due to permission issues... I think it stops when it
>>> encounters issues.
>>>
>>> How do I add switches to enable it to continue / skip errors when
>>> copying
>>> data. I am now using,
>>>
>>> xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y
>>>
>>> Help appreciated. Many thanks in advance
>>>
>>> Richard
>>>

>>
>> You should add some logging so that you can see what's going on:
>> xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y 1>
>> c:\copy.log 2>&1
>>

>
>
 
Hi Pegasus

Thanks, I understand it better now.

Richard

"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
news:ezCbmk14IHA.5052@TK2MSFTNGP02.phx.gbl...
> Console commands generate two types of output:
> - Standard output
> - Error output
> They can be captured like so:
> xcopy . . . . 1>c:\standard.txt
> xcopy . . . . 2>c:\error.txt
>
> If you want both outputs in a single file then you can use
> this syntax:
> xcopy . . . 1>c:\output.txt 2>&1
>
> Note that backing up data without occasionally checking
> the command output greatly reduces the dependability of the
> backup process. You might, for example, use a Command
> Line mailer to send the command output automatically to
> yourself, e.g. once every 8 days.
>
>
> "Richard" <richardbee@hotmail.com> wrote in message
> news:%23SbgCn04IHA.4272@TK2MSFTNGP03.phx.gbl...
> > Hi Pegasus
> >
> > Thanks for taking time to reply. I will try it out but not sure what '
> > 1>c:\copy.log 2>&1 '
> >
> > Would you mind explaining? Many thanks again.
> >
> > Richard
> >
> > "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
> > news:%23pMLm%23z4IHA.832@TK2MSFTNGP05.phx.gbl...
> >>
> >> "Richard" <richardbee@hotmail.com> wrote in message
> >> news:OU9Zj4y4IHA.4448@TK2MSFTNGP05.phx.gbl...
> >>> Hi
> >>>
> >>> I am using xcopy to backup my data, it seems that the data has not

beed
> >>> updating.. could be due to permission issues... I think it stops when

it
> >>> encounters issues.
> >>>
> >>> How do I add switches to enable it to continue / skip errors when
> >>> copying
> >>> data. I am now using,
> >>>
> >>> xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y
> >>>
> >>> Help appreciated. Many thanks in advance
> >>>
> >>> Richard
> >>>
> >>
> >> You should add some logging so that you can see what's going on:
> >> xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y 1>
> >> c:\copy.log 2>&1
> >>

> >
> >

>
>
 
Hi

I am using xcopy to backup my data, it seems that the data has not beed
updating.. could be due to permission issues... I think it stops when it
encounters issues.

How do I add switches to enable it to continue / skip errors when copying
data. I am now using,

xcopy \\server\data \\mycomputer\Backup\Data /D /C /E /H /Y

Help appreciated. Many thanks in advance

Richard
 
Back
Top