kopia
fast, secure backup tool with encryption, deduplication, and compression
TLDR
Create a local repository
SYNOPSIS
kopia command [options]
DESCRIPTION
Kopia is a fast, secure backup tool with encryption, deduplication, and compression. It supports multiple storage backends including local filesystem, cloud storage (S3, B2, GCS, Azure), and SFTP servers.
Backups are encrypted client-side with AES-256-GCM before leaving your machine. Content-defined chunking enables efficient deduplication across all snapshots. Compression further reduces storage requirements.
The snapshot model provides point-in-time backups. Each snapshot captures directory state with metadata. Incremental backups only store changed data, but each snapshot is logically complete - you can restore any snapshot independently.
Policies control backup behavior per directory: compression, scheduling, retention (how many snapshots to keep), and file exclusions. Policies cascade from global to specific paths.
The optional server provides a web UI for browsing snapshots, monitoring backup status, and managing policies. It can also serve as a centralized backup server for multiple machines.
Mount functionality allows browsing snapshots as a filesystem, enabling file-level recovery without full restore.
PARAMETERS
repository create type
Create new repository (filesystem, s3, b2, gcs, azure, sftp, etc.).repository connect type
Connect to existing repository.repository status
Show repository connection status.snapshot create path
Create a backup snapshot.snapshot list [path]
List snapshots, optionally filtered by source.snapshot restore id target
Restore snapshot to directory.mount snapshots mountpoint
Mount snapshots as FUSE filesystem.policy set [options] [path]
Set backup and retention policies.policy show [path]
Show effective policy.maintenance run
Run repository maintenance.server start
Start Kopia server (UI and API).--password pass
Repository password.--config-file path
Use alternate config file.
CAVEATS
Repository password cannot be recovered if lost - keep secure backups of credentials. Large initial backups take time. FUSE mount requires FUSE support. Some storage backends may have API costs. Deduplication effectiveness depends on data patterns.
HISTORY
Kopia was created by Jarek Kowalski starting around 2019 as a modern backup solution. The design emphasized security (mandatory encryption), performance (Go implementation, parallelism), and flexibility (multiple backends). It gained popularity as an alternative to Restic and Borg, offering a web UI and cross-platform support.
