Merge pull request #5129 from tesshuflower/5089_exclude_xattrs_on_restore

Allow excluding xattrs at restore time
This commit is contained in:
Michael Eischer
2025-01-18 23:15:11 +01:00
committed by GitHub
11 changed files with 271 additions and 35 deletions

View File

@@ -0,0 +1,13 @@
Enhancement: Allow including/excluding extended file attributes during restore
Restic restore attempts to restore all extended file attributes.
Now two new command line flags are added to restore to control which
extended file attributes will be restored.
The new flags are `--exclude-xattr` and `--include-xattr`.
If the flags are not provided, restic will default to restoring
all extended file attributes.
https://github.com/restic/restic/issues/5089
https://github.com/restic/restic/pull/5129