Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back up xattrs? #37

Closed
cjwatson opened this issue Sep 19, 2017 · 2 comments
Closed

Back up xattrs? #37

cjwatson opened this issue Sep 19, 2017 · 2 comments
Assignees
Labels
bug
Milestone

Comments

@cjwatson
Copy link

@cjwatson cjwatson commented Sep 19, 2017

After restoring my laptop's root filesystem from backup, I noticed that (e.g.) mtr didn't work because it didn't have the required capabilities. I had to grep for setcap in /var/lib/dpkg/info/*.postinst and reapply all the capabilities there, and of course that leaves me unsure whether I missed anything.

Could rsbackup perhaps start backing up xattrs, using rsync --xattrs, and maybe also --acls? That would imply also adjusting the restore instructions in rsbackup(1).

@ewxrjk
Copy link
Owner

@ewxrjk ewxrjk commented Sep 19, 2017

Yes, I think it's just a bug that it doesn't do so.

@ewxrjk ewxrjk added the bug label Sep 19, 2017
@ewxrjk ewxrjk self-assigned this Sep 19, 2017
@ewxrjk ewxrjk added this to the 5.0 milestone Sep 19, 2017
@ewxrjk ewxrjk closed this in 20a5a69 Sep 23, 2017
ewxrjk added a commit that referenced this issue Sep 23, 2017
re #37
@ewxrjk
Copy link
Owner

@ewxrjk ewxrjk commented Sep 24, 2017

I'm reopening this issue out of dissatisfaction with the approach taken on macOS. At present macOS users silently lose ACLs from their files, and if they install an rsync from this decade it won't work.

My preferred strategy is a config option (or options) allowing fine-grained control over the rsync options used (with the usual global/host/volume inheritance logic). The defaults would reflect a fully accurate backup with a modern rsync, with an explicit manual page and tutorial section on what to do on macOS.

@ewxrjk ewxrjk reopened this Sep 24, 2017
@ewxrjk ewxrjk closed this in e2a2659 Oct 9, 2017
@ewxrjk ewxrjk reopened this Oct 9, 2017
@ewxrjk ewxrjk closed this in 4a4b174 Oct 14, 2017
ewxrjk added a commit that referenced this issue Oct 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants