Solved

Using Rsync To Backup Windows Clients To Linux Server With Permissions

Posted on 2009-04-06
4
1,228 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't ping New Linux Servers 40 69
android secure ftp 3 38
Server Rebuild after 2 drive in raid crashed 16 48
How to check currently configured static routes on CentOS 7? 1 33
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

825 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