From e19232b3067732f34c0b4799c8020d7a34fe17b3 Mon Sep 17 00:00:00 2001 From: Flachz <89424528+Flachz@users.noreply.github.com> Date: Sun, 24 May 2026 22:11:41 +0200 Subject: [PATCH] fix: xattr xdg backup exclusion should be on 'false' --- src/borg/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/archive.py b/src/borg/archive.py index f381d1c71..0e9851d25 100644 --- a/src/borg/archive.py +++ b/src/borg/archive.py @@ -1231,7 +1231,7 @@ def maybe_exclude_by_attr(item): if xattrs := item.get("xattrs"): apple_excluded = xattrs.get(b"com.apple.metadata:com_apple_backup_excludeItem") linux_excluded = xattrs.get(b"user.xdg.robots.backup") - if apple_excluded is not None or linux_excluded == b"true": + if apple_excluded is not None or linux_excluded == b"false": raise BackupItemExcluded if flags := item.get("bsdflags"):