Home : Does Rsync preserve file attributes with the backup?
Q10327 - QUESTION: Does Rsync preserve file attributes with the backup?

Since Rsync works on top of the Cygwin Unix emulation layer, it doesn't know anything about Windows file attributes (e.g. read only, hidden, system, etc) or about NTFS security attributes (i.e. access control lists) so it is not able to transfer any of these to the backup.

NTFS alternate data streams are not supported either. Also, Unix doesn't have a concept of file creation time, so that is not preserved either. The only attribute that is preserved is the last modified time of the file.

Please find a comparison between the File Replication engine and the Rsync engine in regards to file attribute preservation

File attributes at destination

Rsync

File Replication

Windows File Attributes

No

Yes

Creation time

No

Yes 

Last access time

No

No

Last modified time

Yes 

Yes 

NTFS security (ACLs)

No

Yes*

NTFS alternate data streams (ADSs)

No

Yes*

* The ACLs and ADSs are preserved if destination is NTFS (not Linux or ReV drives)

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 04/02/2010.
Last Modified on 04/02/2010.
Last Modified by Neil Perry.
Article has been viewed 258 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article