zfsborg: change compression and chunker params

works better for sqlite3 DBs.

https://github.com/borgbackup/borg/issues/5877#issuecomment-1844793346
This commit is contained in:
Motiejus Jakštys 2024-01-25 14:57:30 +02:00
parent 04a0f8e935
commit 64a73fe3b7
1 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,8 @@ in {
passCommand = "cat ${config.mj.base.zfsborg.passwordPath}"; passCommand = "cat ${config.mj.base.zfsborg.passwordPath}";
}; };
extraArgs = "--remote-path=borg1"; extraArgs = "--remote-path=borg1";
compression = "auto,lzma"; compression = "auto,zstd,10";
extraCreateArgs = "--chunker-params buzhash,10,23,16,4095";
startAt = attrs.backup_at; startAt = attrs.backup_at;
preHook = mkPreHook fs.device i; preHook = mkPreHook fs.device i;
prune.keep = { prune.keep = {