Sorry for not getting back in time.......

This worked like a treat....

cheers

ED




2009/8/10 Andy Ognenoff <[email protected]>

> You’ll want to test it out…
>
> My guess is that you need to use:
>
> /S /E /COPY:DAT
>
> So you pick up the data, attributes and timstamps but not the ACL or owner
> info.
>
>  - Andy O.
> ________________________________________
> From: helpdesk UK [mailto:[email protected]]
> Sent: Monday, August 10, 2009 4:43 PM
> To: NT System Admin Issues
> Subject: Re: Robocopy
>
>
>
> So using only /s /e is required ?
>
> that will eliminate the security perms being a problem ?
>
> cheers
>
> ED
>
>
> 2009/8/10 Andy Ognenoff <[email protected]>
> /MIR and /COPYALL is going to bring everything across – permissions too.
>  In
> fact, having /MIR, /E and /COPYALL is redundant.
>
> You probably want to use a combination of copy flags – see here:
> http://ss64.com/nt/robocopy.html
>
>  - Andy O.
> ________________________________________
> From: helpdesk UK [mailto:[email protected]]
> Sent: Monday, August 10, 2009 3:06 PM
> To: NT System Admin Issues
> Subject: Robocopy
>
> Hello Everyone,
>
> I am trying to copy data from external hdd to a server and have done
> mappings for new users as well hence the difference between the source
> names
> and destination names.
>
> robocopy "Z:\AbbottK" "\\source-server\abbottke01$" /MIR /E /COPYALL /V
> /R:2
> /W:10
> robocopy "Z:\AbdobakiR" "\\source-server\abdoubr01$" /MIR /E /COPYALL /V
> /R:2 /W:10
>
> What this script does is copies the data but for some reason resets all
> destination permissions to blank i.e. none nothing exist so this has
> happened every time I run this script.
>
>
> The requirement of the script / batch is as follows
>
> 1. Should mirror source ( usb h.d.d. )==> destination (server share) if not
> same sync if same ignore and carry on further.
> 2. If fails retry at least once after waiting for 10 seconds
> 3. Should log everything (verbose) on the screen only i.e. command window.
> 4. Should inherit destination NTFS permissions and not reset / break it.
>
>
> Any help is much appreciated.
>
> cheers
>
>
> ED
>
>
>
>
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
>
>
> --
> Chris
>
> MCP
>
>
>
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
>


-- 
Chris

MCP

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to