[python-win32] Python scripting with Active Directory

Tim Roberts timr at probo.com
Thu Jul 17 19:39:10 CEST 2014


Anis Liyana wrote:
> Hello,
> Would appreciate any help regarding my problem. 
>
> Problem: 
> I am currently on a project for back up server with python script.
> The project is actually arise from problem whereby when I need to back
> up my server (Windows Server 2003), I usually use Robocopy but, when I
> copy the folders from server 1 to server 2, it doesn't copy the user
> and group access as well. Thus, I need to manually configure the users
> and groups permission for each of the folders.

Are you not aware that robocopy has a /sec flag that tells it to copy
the ACLs?  In fact, for doing backups, you probably want the /copyall
option, which also copies the owner and auditing information.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20140717/e5bc7932/attachment.html>


More information about the python-win32 mailing list