mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-19 14:40:01 -04:00
macOS flags files whose content is stored in cloud storage (e.g. iCloud Drive) and not present locally with SF_DATALESS. Reading such a file triggers downloading its content. With --exclude-dataless, borg create checks the flags (cheap, after stat, before open) and skips such files/dirs, so backups do not force a download of all cloud-stored data. stat.SF_DATALESS is only available from Python 3.13 on, so we fall back to the value from macOS' sys/stat.h on older Pythons. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| borg | ||