Solved

Using Rsync To Backup Windows Clients To Linux Server With Permissions

Posted on 2009-04-06
4
1,232 Views
Last Modified: 2013-12-01
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
Comment
Question by:guitchicken
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:Morne Lategan
ID: 24081621
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
 
LVL 7

Accepted Solution

by:
Morne Lategan earned 500 total points
ID: 24081759
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
 
LVL 16

Expert Comment

by:ai_ja_nai
ID: 24099889
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
 
LVL 3

Author Closing Comment

by:guitchicken
ID: 31567220
I didn't go with robocopy but I found something else to just copy the acls. Thanks.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question