Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Increase standalone B2 backup concurrency

Bill Yangdf1ab878b402
diff --git a/ops/backups/config/clickhouse.env.example b/ops/backups/config/clickhouse.env.example
index 477067c4e..8fa6a8ed8 100644
--- a/ops/backups/config/clickhouse.env.example
+++ b/ops/backups/config/clickhouse.env.example
@@ -13,6 +13,10 @@ CLICKHOUSE_KEEP_LOCAL_BACKUP=false
# Upload the completed native snapshot to Backblaze. Let B2 lifecycle rules
# handle retention instead of granting this host permission to delete backups.
CLICKHOUSE_RCLONE_REMOTES=backblaze:rybbit-backups/clickhouse/analytics
+# Native disk backups contain many small files, so use more parallel transfers
+# than the conservative defaults used for PostgreSQL archives.
+RCLONE_TRANSFERS=16
+RCLONE_CHECKERS=32
# CLICKHOUSE_SUCCESS_URL=
# CLICKHOUSE_FAILURE_URL=