Hello everyone,
I would like to back up my Google Drive using restic. To do this, I have an rclone mount --read-only on a path, e.g., gdrive/.
rclone mount "gdrivetest:Home Assistant Backups" gdrive --read-only -vv
Now I want to back up this folder using restic backup gdrive/, but I get an error for every file in my GDrive:
> restic --repo repo/ backup gdrive/
enter password for repository:
repository 7fa4dc75 opened (version 2, compression level auto)
created new cache in /root/.cache/restic
no parent snapshot found, will read all files
[0:00] 0 index files loaded
error: incomplete metadata for gdrive/Full Backup 2025-10-05 06:00:00.tar: xattr.list gdrive/Full Backup 2025-10-05 06:00:00.tar: input/output error
error: incomplete metadata for gdrive/Full Backup 2025-10-06 06:00:00.tar: xattr.list gdrive/Full Backup 2025-10-06 06:00:00.tar: input/output error
error: incomplete metadata for gdrive/Full Backup 2025-10-07 06:00:00.tar: xattr.list gdrive/Full Backup 2025-10-07 06:00:00.tar: input/output error
error: incomplete metadata for gdrive/Full Backup 2025-10-08 06:00:00.tar: xattr.list gdrive/Full Backup 2025-10-08 06:00:00.tar: input/output error
error: incomplete metadata for gdrive/Full Backup 2025-10-09 06:00:00.tar: xattr.list gdrive/Full Backup 2025-10-09 06:00:00.tar: input/output error
error: incomplete metadata for gdrive/Full Backup 2025-10-10 06:00:00.tar: xattr.list gdrive/Full Backup 2025-10-10 06:00:00.tar: input/output error
error: incomplete metadata for gdrive/Full Backup 2025-10-11 06:00:00.tar: xattr.list gdrive/Full Backup 2025-10-11 06:00:00.tar: input/output error
error: incomplete metadata for gdrive/Full Backup 2025-10-12 06:00:00.tar: xattr.list gdrive/Full Backup 2025-10-12 06:00:00.tar: input/output error
error: incomplete metadata for gdrive/Full Backup 2025-10-13 06:00:00.tar: xattr.list gdrive/Full Backup 2025-10-13 06:00:00.tar: input/output error
error: incomplete metadata for gdrive/Full Backup 2025-10-14 06:00:00.tar: xattr.list gdrive/Full Backup 2025-10-14 06:00:00.tar: input/output error
Files: 10 new, 0 changed, 0 unmodified
Dirs: 1 new, 0 changed, 0 unmodified
Added to the repository: 457.800 MiB (437.978 MiB stored)
processed 10 files, 772.793 MiB in 4:38
snapshot 5a6fba7e saved
Warning: at least one source file could not be read
Is there any way I can disable these extended attributes? I donβt need them, I just want to back up my data on GDrive.
Here are all the relevant snippets for my setup:
> restic version
restic 0.18.0 compiled with go1.24.4 on linux/amd64
> cat ~/.config/rclone/rclone.conf
[gdrivetest]
type = drive
scope = drive
token = REMOVED
team_drive =
> tree -d .
.
βββ gdrive # <-- Mountpoint
βββ repo
βββ data
β βββ 00
β βββ 01
β βββ 02
β βββ [...]
βββ index
βββ keys
βββ locks
βββ snapshots
264 directories