Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check the docs + faq about files cache #5371

Open
ThomasWaldmann opened this issue Oct 1, 2020 · 1 comment
Open

check the docs + faq about files cache #5371

ThomasWaldmann opened this issue Oct 1, 2020 · 1 comment
Assignees

Comments

@ThomasWaldmann
Copy link
Member

@ThomasWaldmann ThomasWaldmann commented Oct 1, 2020

there are frequent questions like "why is borg slow for me, considering all my files modified" when the underlying filesystem has issues with:

  • stable inode numbers
  • when people do not always have the same full/absolute paths
  • when they have ctime issues (like cron scripts running chown -R/chmod -R)

there are quite some related posts on this issue tracker (also see closed issues) and on the borg mailing list.

the usual way to debug / fix this is using borg create --list ... to see file status and whether a lot of files are considered modified although they should not be plus using the stat command on these files to see why borg considers them changed or has a files cache miss (if not obvious, e.g. due to full path change).

fixing the issue is sometimes out of borg scope (e.g. mounting always to same mountpoint, not doing chown/chmod by cron) and sometimes tweaking borg's --files-cache (e.g. if the source fs does not have stable inode numbers).

check our docs (esp. borg create and faq) and make them more complete / better discoverable, so less people ask these questions.

@ThomasWaldmann ThomasWaldmann added this to the 1.1.14 milestone Oct 1, 2020
@ThomasWaldmann ThomasWaldmann self-assigned this Oct 3, 2020
ThomasWaldmann added a commit to ThomasWaldmann/borg that referenced this issue Oct 3, 2020
also: give a speed example for unchanged files

also: explicitly mention chmod/chown changing ctime

also: reformat one paragraph
ThomasWaldmann added a commit that referenced this issue Oct 6, 2020
docs: how to approach borg speed issues, fixes #5371
@ThomasWaldmann
Copy link
Member Author

@ThomasWaldmann ThomasWaldmann commented Oct 6, 2020

fixed in 1.1-maint. proofreading and forward porting to master still todo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.