borgmatic-collective / docker-borgmatic

Borgmatic in Docker
GNU General Public License v3.0
313 stars 88 forks source link

xattrs [Errno 13] #323

Open elphmaan opened 2 months ago

elphmaan commented 2 months ago

I'am runing the current borgmatic docker to backup files from my unraid server. Works fine. Now I thought to exand the configuration to backup different smb shares of a Windows file server.

From one share I got the error: "/mnt/share: extended stat (xattrs): [Errno 13] Permission denied: '<FD 5>'"

The reason for this ticket is something else.

/ # borg --version borg 1.2.8 / # borgmatic --version 1.8.10

witten commented 2 months ago

This error is coming directly from Borg. Here is a Borg ticket with some ideas on potential work-arounds: https://github.com/borgbackup/borg/issues/7293

If you'd like borgmatic to run Borg with --noxattrs on create, you can add the following to your borgmatic configuration:

extra_borg_options:
    create: --noxattrs