Skip to content

Commit

Permalink
FAQ: Why is backing up an unmodified FAT filesystem slow on Linux?
Browse files Browse the repository at this point in the history
  • Loading branch information
helmutg committed Sep 23, 2024
1 parent 5274548 commit 8c444ba
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,16 @@ to change them.

Use ``borg repo-compress`` to efficiently recompress a complete repository.

Why is backing up an unmodified FAT filesystem slow on Linux?
-------------------------------------------------------------

By default, the files cache used by BorgBackup considers the inode of files.
When an inode changes compared to the last backup, it hashes the file again.
The ``vfat`` kernel driver does not produce stable inodes by default. One way
to achieve stable inodes is mounting the filesystem using ``nfs=nostale_ro``.
Doing so implies mounting the filesystem read-only. Another option is to not
consider inodes in the files cache by passing ``--files-cache=ctime,size``.

Security
########

Expand Down

0 comments on commit 8c444ba

Please sign in to comment.