Re: [python-win32] Backup up Windows ACLs

2011-03-19 Thread Tim Golden
On 18/03/2011 10:33 PM, Randy Syring wrote: Ok, I read up on my accronyms. Is there anything in the windows python landscape that implements SD<=> SDDL or would be a building block to doing so? See my slightly later post for an example. [Tim Golden] The additional complication with ACLs (es

Re: [python-win32] Backup up Windows ACLs

2011-03-18 Thread Ben Timby
On Fri, Mar 18, 2011 at 9:40 PM, Randy Syring wrote: > > On 03/18/2011 08:21 PM, Ben Timby wrote: >> >> I would suggest looking at Samba. This would help you solve two problems. >> >> 1. Transporting files to the Linux server. >> 2. The ACL issue, you can use extended ACL support, which, when >> i

Re: [python-win32] Backup up Windows ACLs

2011-03-18 Thread Randy Syring
On 03/18/2011 08:21 PM, Ben Timby wrote: I would suggest looking at Samba. This would help you solve two problems. 1. Transporting files to the Linux server. 2. The ACL issue, you can use extended ACL support, which, when integrated with a Windows domain, can map UID/GID to objects in the domai

Re: [python-win32] Backup up Windows ACLs

2011-03-18 Thread Randy Syring
On 03/18/2011 06:21 PM, Tim Golden wrote: ... or even (slightly wild-eyed thought) including the SDDL as a segment in the backed-up filename, suitably escaped. Semi-tested proof of concept: I don't think I would head that route. Using an rsync like protocol, every time permissions changed,

Re: [python-win32] Backup up Windows ACLs

2011-03-18 Thread Ben Timby
On Fri, Mar 18, 2011 at 5:28 PM, Randy Syring wrote: > I'm working on a backup solution using the ZFS file system.  The idea is > somewhat like rdiff-backup, except that the backup tool doesn't need to > worry about versioning, compressiong, or deduplicating the files.  ZFS will > handle compressi

Re: [python-win32] Backup up Windows ACLs

2011-03-18 Thread Randy Syring
On 03/18/2011 05:34 PM, Tim Golden wrote: On 18/03/2011 9:28 PM, Randy Syring wrote: The issue I am running into is that I am not sure how to copy files from windows to the Linux and preserve ACLs. I assume that you only want to preserve them as metadata, not to map them somehow to whatever s

Re: [python-win32] Backup up Windows ACLs

2011-03-18 Thread Tim Golden
On 18/03/2011 9:34 PM, Tim Golden wrote: On 18/03/2011 9:28 PM, Randy Syring wrote: The issue I am running into is that I am not sure how to copy files from windows to the Linux and preserve ACLs. I assume that you only want to preserve them as metadata, not to map them somehow to whatever sec

Re: [python-win32] Backup up Windows ACLs

2011-03-18 Thread Tim Golden
On 18/03/2011 9:28 PM, Randy Syring wrote: The issue I am running into is that I am not sure how to copy files from windows to the Linux and preserve ACLs. I assume that you only want to preserve them as metadata, not to map them somehow to whatever security model obtains on the Linux disk? Th

[python-win32] Backup up Windows ACLs

2011-03-18 Thread Randy Syring
I'm working on a backup solution using the ZFS file system. The idea is somewhat like rdiff-backup, except that the backup tool doesn't need to worry about versioning, compressiong, or deduplicating the files. ZFS will handle compression and deduplication. rsnapshot will handle versioning.