• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1253
  • Last Modified:

Using Rsync To Backup Windows Clients To Linux Server With Permissions

I am trying to use rsync to backup Windows machines in our local area to a central server in a local co-lo. The client pcs are running Windows XP and Deltacopy. The server is running Centos 5.2 and an rsync daemon. The problem we are running into is the permissions do not get backed up. I have also tested this with a Windows server with the same result. We are using rsync.exe  -v -rlt -z --delete -Aa to backup the server. Does anyone know how to use rsync to backup windows ACLs?
0
guitchicken
Asked:
guitchicken
  • 2
1 Solution
 
Morne LateganCommented:
Not sure if someone has implimented extra functionality in more recent versions/forks of rsync yet, but to my knowledge rsync supports posix acl's only. And NTFS does not map 100% to posix ACL's via cygwin. So, in short, altough some ACL's are backed up, rsync is not capable of fully backing up NTFS ACL's.
0
 
Morne LateganCommented:
MS has a tool called robocopy which works like rsync, except its not as effecient because it does not transfer delta's, but whole files. It seems however that you can use robocopy to transfer permissions only. Google around about "robocopy permissions only". So you can combine the two. Rsync the files accross, then robocopy the permissions on the already synced files.

Or alternatively just use robocopy to copy to a network share if the permissions are crucial. In a desktop backup scenario it shouldn't be that much slower than rsync unless you work with huge files.
0
 
ai_ja_naiCommented:
It's impossible because ACLs are a capability of NTFS. As you use any non-MS filesystem over Linux, you won't be able to solve it. You must backup those files under a NTFS volume and use robocopy to copy only the permissions
0
 
guitchickenAuthor Commented:
I didn't go with robocopy but I found something else to just copy the acls. Thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now