borgbackup/borg

whiteout file type?

Fechada

#7.174 aberto em 28 de nov. de 2022

 (2 comentários) (0 reação) (0 responsável)Python (732 forks)batch import
help wantedos: bsdos: macOSquestion

Métricas do repositório

Stars
 (10.086 estrelas)
Métricas de merge de PR
 (Mesclagem média 5d 12h) (91 fundiu PRs em 30d)

Description

Accidentally stumbled over a file type borg does not support yet: a whiteout (used by overlay fs)

Infos:

Linux: has a hack avoiding a new file type, using a char dev 0:0 for file whiteouts and an xattr for directory whiteouts macOS: has whiteouts FreeBSD: has support for whiteouts, separate file type DT_WHT OpenBSD: no whiteouts NetBSD: ?

Is there a need for backing up / restoring whiteouts?

  • for a mounted overlay fs, it should be backed up as visible to the user (no whiteouts visible)
  • can one access the layers individually, so that WHT files would become visible (on BSD)?

Guia do colaborador