qmetrics.net

ClickHouse Backup

Backup and restore utility for ClickHouse databases

ClickHouse Backup screenshot

Creates and restores ClickHouse table backups locally or in cloud object storage. It must run beside clickhouse-server because it links the same on-disk data paths.

Overview

Altinity Backup for ClickHouse, distributed as clickhouse-backup, is a utility for creating, uploading, downloading, and restoring backups of ClickHouse databases. Backup files can be stored on local disk or pushed to remote stores including AWS S3, Google Cloud Storage, Azure Blob, Tencent COS, FTP, and SFTP, with optional integration paths for rclone, kopia, restic, or rsync-style custom commands.

Operations lean on ClickHouse FREEZE semantics to hard-link immutable data parts, then copy or attach parts during restore. The tool documents support for Atomic and Replicated database engines, multi-disk setups, incremental remote backups, and streaming modes that move one table at a time to limit local disk use.

Because it needs the same filesystem view as clickhouse-server, the authors require running clickhouse-backup on the same host, Kubernetes pod, or neighboring container as the server; remote-only connections are limited essentially to schema backup. A server mode exposes REST endpoints that mirror CLI actions for automation and sidecar deployments.

Documented limitations include MergeTree-family table engines for most versions and constraints around embedded backup restore flags on newer servers. Configuration lives in YAML with environment-variable overrides.

Key features

  • Full or selective table backups
  • S3, GCS, Azure, FTP, SFTP targets
  • Incremental remote backups
  • Streaming upload and restore
  • REST API server mode
  • Replicated and Atomic engine support
  • Custom remote storage via templates
  • Parallel upload and download controls

Use cases

  • ClickHouse disaster recovery planning
  • Off-site backup to object storage
  • Kubernetes sidecar backup jobs
  • Incremental backup retention
  • Automating backup via HTTP API

Tags

Similar software

Litestream

Background SQLite WAL replication to files or cloud storage

Standalone process that streams SQLite write-ahead log changes to local paths or remote storage for incremental disaster recovery. Integrates without modifying application code.

★ 14.7k⟳ todayApache-2.0

Portabase

Self-hosted centralized backup and restore for many database engines

Portabase automates database backups and on-demand restores from a central dashboard. Agents connect to PostgreSQL, MySQL, MongoDB, and other engines plus Docker volumes and files.

★ 1.9k⟳ yesterdayApache-2.0
Backup & RecoverySelf-hostable

db-backup

Single-binary scheduled backup for nine database engines

db-backup backs up, restores, verifies, and maintains MySQL, PostgreSQL, MongoDB, and six other engines using one configuration style. It runs as a CLI or built-in scheduler on servers, containers, or CI.

★ 1.6k⟳ todayAGPL-3.0 · open core
Backup & RecoveryDesktop/CLI app

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable