Skip to content

docs: FAQ about chunker params for SQLite databases - #10162

Merged
ThomasWaldmann merged 1 commit into
borgbackup:masterfrom
ThomasWaldmann:sqlite-chunker-5877
Aug 20, 2026
Merged

docs: FAQ about chunker params for SQLite databases#10162
ThomasWaldmann merged 1 commit into
borgbackup:masterfrom
ThomasWaldmann:sqlite-chunker-5877

Conversation

@ThomasWaldmann

Copy link
Copy Markdown
Member

Adds a short FAQ entry (in "Usage & Limitations", next to the compression
question) recommending smaller chunks for SQLite database files.

It explains why the default ~2 MiB target chunk size is a bad fit for
in-place page updates, suggests --chunker-params=fastcdc,15,19,17,2
(~128 kiB target chunks) and the even finer fastcdc,10,23,16,2, and
notes the resource cost plus the fact that chunker params apply per
borg create run, so databases are best backed up in a separate run.

Also mentions that borg copies the file as-is, so a live database may be
backed up in an inconsistent state.

Fixes #5877

@ThomasWaldmann
ThomasWaldmann merged commit b85ca3e into borgbackup:master Aug 20, 2026
@ThomasWaldmann
ThomasWaldmann deleted the sqlite-chunker-5877 branch August 20, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use different chunker parameters for SQLite files

1 participant