Page 1 of 1

Robocopy - ignore the Folder NTFS Permission

Posted: Wed Mar 16, 2011 11:07 pm
by ccs1981
Dear all,
i am facing a problem to write the coding robocopy.i want do a fully backup from 1 storage server to another server. however i want to skip copying NTFS permission for every sharing folder.it is because, i share the folder with local group user.
i merge the backup server as Z drive;below is my robocopy coding:
robocopy D:HV_Design z:HV_Design /copyall /E /R:O /w:5 /r:5 /PURGE
i use copy/all, therefore the NTFS permission also copy together. how to skip the folder security permission? i only want to backup the folder content only.
please help. appreciate to get your reply soon.
thanks.
Best Regards,

Robocopy - ignore the Folder NTFS Permission

Posted: Wed Mar 16, 2011 11:07 pm
by ccs1981
Dear all,
i am facing a problem to write the coding robocopy.i want do a fully backup from 1 storage server to another server. however i want to skip copying NTFS permission for every sharing folder.it is because, i share the folder with local group user.
i merge the backup server as Z drive;below is my robocopy coding:
robocopy D:HV_Design z:HV_Design /copyall /E /R:O /w:5 /r:5 /PURGE
i use copy/all, therefore the NTFS permission also copy together. how to skip the folder security permission? i only want to backup the folder content only.
please help. appreciate to get your reply soon.
thanks.
Best Regards,

Robocopy - ignore the Folder NTFS Permission

Posted: Thu Mar 17, 2011 1:14 am
by jvierra
/COPY:copyflag[s] :: what to COPY for files (default is /COPY:DAT).(copyflags : D=Data, A=Attributes, T=Timestamps).(S=Security=NTFS ACLs, O=Owner info, U=aUditing info).