-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Using source-directory w/o xattr fails #1800
Comments
I've produced the relevant section of a debug log for this. I would really appreciate any help towards solving this issue because nearly everything I have to backup is on a CIFS file system. It might be worth noting that recent samba updates have modified a few related things, one in particular is that
|
I do not believe this issue lies within Restic's control. It seems that recent samba and/or kernel changes have upset all extended attribute based tools. I've confirmed the same message There is a surefire - perhaps only for the meantime - fix to be applied when mounting the network shares. Add the |
Can confirm: mounting with nouser_xattr allows restic to perform the backup |
Thanks for providing more details! While restic is unable to read the extended attributes, I think it should report the error and carry on (read the dir, save the files) instead of aborting. That's something we need to fix within restic. |
I had a recent similar error concerning xattr cifs errors where Duplicity reported errors. This was using Manjaro Linux . |
I had a recent similar error concerning xattr cifs errors where Duplicity reported errors. This was using Manjaro Linux . |
Is this still an issue? If yes then it should be sufficient to whitelist restic/internal/restic/node_xattr.go Line 29 in 5fd3dbc
|
Yes, still an issue . |
using |
Closing this as it should be fixed by #3034. |
Output of
restic version
restic 0.9.0 compiled with go1.10.2 on linux/amd64
How did you run restic exactly?
/mnt/photos is a mount:
This mount does NOT allow xattr.
restic output:
Notice how restic does not process any files, even if it tells it has a total of 32856 files. After this restic quits and no data is in snapshot
What backend/server/service did you use to store the repository?
google drive via rclone
Expected behavior
restic creates a snapshot containing data
Actual behavior
restic creates an empty snapshot which can't be restored:
The source directory has an upper layer containing 158 files & directories:
Steps to reproduce the behavior
Do you have any idea what may have caused this?
Based on the errormessage I guess missing extended attributes on the source-directory
Do you have an idea how to solve the issue?
no
Did restic help you or made you happy in any way?
Very happy to find a backup - programm using rclone as backend, Works like a charm on local files.
The text was updated successfully, but these errors were encountered: