Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using backuppc to backup my server. The backups are done using rsyncd. Currently, I am not using ACLs, but I am think it is good to activate it to have finer control over permissions.

My question: Will backing up my files using rsync preserve the defined ACLs?

BTW, I read an article about ACLs. They are saying that ubuntu does not support ACLs with tar. Is this real/old or not? I may not have this problem if I am using rsync. Is this right?

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

As always when it comes to backing up stuff, do not fully trust answers from the net (like this one ;-)) and test it yourself before handling valuable data.

Taking a look at http://packages.ubuntu.com/maverick/rsync (and there, specifically, at [rsync_3.0.7-2ubuntu1.dsc]), we see that the maintainer writes

  -- Paul Slootman <paul@debian.org>  Mon, 20 Nov 2006 15:43:12 +0100

  rsync (2.6.9-1) unstable; urgency=low

  * New upstream release.
  * (from experimental version 2.6.9~pre3-1)
    Applied a mix of the patches from Martin Pitt and David Härdeman for
    LSBfying init script.
    closes:#375985,#385877
  * Upstream now includes the patch for replacing a dir with a symlink when
    using --delete-after.
    closes:#350522
  * Now includes the ACL patch.

So the package itself supports ACLs since 2006.

As for your second question: I don't know about tar, but as long as you only rsync your files somewhere else, you should not be affected by any possible problems with tar. rsync does not use tar during transfers.

share|improve this answer
    
Thanks for your reply! –  Khaled Feb 8 '11 at 14:54
    
Very good answer. –  Sabacon Feb 8 '11 at 15:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.