Skip to content

[Feature Request] Avoid trying to backup xattrs #1599

Closed
rustic-rs/rustic_core
#461

Description

@DianaNites

I am attempting to backup a filesystem that does not support xattrs. This results in a WARN log line for seemingly every file about xattrs being unsupported.

[WARN] ignoring error: Error getting xattrs for "<path>": Os { code: 95, kind: Unsupported, message: "Operation not supported" }

A command-line and/or configuration option to disable attempting to read extended attributes would be very useful.

An additional option could be attempting detection of this and handling it automatically, but I suspect its possible that would mask legitimate errors from the user(maybe they misconfigured something?)

Using rustic version v0.10.0.

Activity

  1. added
    S-triageStatus: Waiting for a maintainer to triage this issue/PR
    on Nov 10, 2025
  2. aawsome commented on Nov 11, 2025

    @aawsome
    Member

    @DianaNites Thanks for opening this issue!

    Actually I think that the error message means that the error and the files which failed getting xattrs are ignored. Please check your snapshot, it may contain no file at all!

  3. DianaNites commented on Nov 11, 2025

    @DianaNites
    Author

    The backup run this came from failed for other unrelated reasons and I ended up backing up through a different method, so I dont know if the end result would have actually contained any files. I will note that based on network and disk activity it did seem to be reading and uploading them

    Specifically I was backing up a remote location via a fuse mount, but ended up just copying the remote to a local disk and backing that up instead.

    The option to explicitly ignore extended attributes however still seems useful for the future

  4. aawsome commented on Jan 11, 2026

    @aawsome
    Member

    I just had a look into the code: If there are errors with xattrs, they are simply not saved (and the warning you gave above is printed).
    I'll add an option to disable (and not event try to read) xattrs!

  5. TheNoim commented on Apr 2, 2026

    @TheNoim

    This is not available for the cli config at the moment, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-triageStatus: Waiting for a maintainer to triage this issue/PR

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions