Self-host kopia
v0.23.1Encrypted, deduplicated backup tool with CLI and GUI
docker run -e KOPIA_PASSWORD -v /path/to/config/dir:/app/config -v /path/to/cache/dir:/app/cache -v /path/to/logs/dir:/app/logs -v /path/to/repository/dir:/repository -v /path/to/tmp/dir:/tmp:shared- Stars
- 14 619
- Port
- 51515 (Kopia server web interface and API address in server mode)
kopia/kopiaWhat is kopia?
Kopia is a cross-platform backup and restore tool for Windows, macOS and Linux, available both as a command-line program and as the KopiaUI desktop application. It takes incremental snapshots of the files and folders you choose, encrypting both content and file names end-to-end with a user-controlled repository password, and stores them in a repository you pick: local disk, network shares, your own Kopia repository server, S3-compatible object storage, Azure, Backblaze B2, Google Cloud, plus WebDAV or SFTP endpoints, with experimental Rclone-based storage too. Snapshots are content-addressed so identical data is uploaded only once, optional compression (zstd, s2, pgzip and others) shrinks uploads, and Reed-Solomon error correction guards against bitrot. Policies govern scheduling, retention, compression and .kopiaignore rules, while built-in consistency verification and automatic maintenance keep repositories healthy. In server mode, Kopia listens on port 51515 and offers a web interface plus an API so one machine can centrally manage backups from many clients, with per-user accounts and ACLs. Installation is via APT/YUM repositories, Homebrew, Scoop, winget, AUR, BSD ports, desktop installers, GitHub release binaries, or Docker. Kopia is Apache-2.0 licensed and free; it does not image whole machines, and you must provide and pay for your own storage.
kopia alternatives
DuplicacySelf-hosted command-line backup tool with lock-free deduplication and client-side encryption, pushing snapshots to local disks, SFTP servers, or a dozen cloud storages.CompareDuplicacy with kopia
ResticOpen-source, self-hosted CLI backup tool: encrypted, deduplicated snapshots to local disks, SFTP, a REST server or cloud storage, as a single binary or Docker image.CompareRestic with kopia
plakarSelf-hosted, open-source backup tool: encrypted, deduplicated snapshots you can browse, diff and verify, with sync to S3 or local stores.Compareplakar with kopia
VykarSelf-hosted Rust backup tool with YAML config, multiple storage backends, built-in scheduling, desktop GUI, and WebDAV for browsing snapshots.CompareVykar with kopia
docker-duplicatiSelf-hosted, open-source Docker image of the Duplicati backup client: encrypted changed-only backups to disks, S3, OneDrive, Google Drive, with a web UI on port 8200.Comparedocker-duplicati with kopia
copypartySelf-hosted file server with accelerated resumable uploads, deduplication, WebDAV, SFTP, FTP, TFTP, SMB, media indexing, thumbnails — all in one Python file.Comparecopyparty with kopia
borgbackupserverSelf-hosted web UI that centrally manages encrypted Borg backups on Linux, Windows, and macOS via agents that poll over HTTPS and push data over SSH.Compareborgbackupserver with kopia
DBackupSelf-hosted open-source backup for 10 databases and files. Supports S3, Google Drive, SFTP with AES-256-GCM encryption, incremental backups, GFS retention, OIDC SSO, 2FA.CompareDBackup with kopia
Should you self-host kopia?
kopia scores 75/100 on selfhost.directory (how scoring works) and ranks #2 of 46 in Backup. It has 14 619 GitHub stars, +345 in the last 30 days.
It shipped 6 stable releases in the past year. The latest, v0.23.1, came out on 16 June 2026. New versions land roughly every 7 days.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is Restic (82/100, 37 112 stars). It scores higher overall, so compare the two before you pick. See kopia vs Restic side by side.
Features
- Access Control (ACL)
- Automated snapshot scheduling
- Automatic repository maintenance
- Backup verification
- Command Line Interface
- CompressionDisabled by default
- Data deduplication
- Desktop GUI
- End-to-end encryption
- Error correction
- Ignore rules
- Incremental snapshots
- Mount snapshots for restore
- Server mode with API
- Snapshot retention policies
kopia README
n.
Kopia is a fast and secure open-source backup/restore tool that allows you to create encrypted snapshots of your data and save the snapshots to remote or cloud storage of your choice, to network-attached storage or server, or locally on your machine. Kopia does not 'image' your whole machine. Rather, Kopia allows you to backup/restore any and all files/directories that you deem are important or critical.
FAQ
How does the KopiaUI handle multiple repositories?
At startup KopiaUI scans its configuration directory for all *.config files and tries to connect to every repository they describe, so unwanted config files should not end in .config.
What are Incomplete Snapshots?
Temporary snapshots created via checkpoints when a long snapshot exceeds the checkpoint interval; they are removed once a complete snapshot exists.
How Do I Decrease Kopia's Memory (RAM) Usage?
Disable or choose a lighter compression algorithm (s2, deflate, gzip for small files) and reduce parallel snapshots and file reads.
How Do I Decrease Kopia's CPU Usage?
Lower the Maximum Parallel Snapshots and Maximum Parallel File Reads policy settings, which reduces simultaneous snapshot and upload processes.
Does Kopia Support Storage Classes, Like Amazon Glacier?
Yes, see the storage classes guide in the docs.
How Do I Change My Repository Password?
Use the kopia repository change-password CLI command while still connected to the repository; password change is not supported in KopiaUI.
How Do I Enable Data Deduplication?
You don't need to do anything: deduplication is enabled automatically for all repositories, in GUI and CLI alike.
How Do I Enable Compression?
Compression is disabled by default and enabled per-directory or globally through policy settings.
How Do I Enable Encryption?
Encryption is automatic at the repository level using the repository password; you can pick AES256-GCM-HMAC-SHA256 (default) or CHACHA20-POLY1305-HMAC-SHA256 when creating the repository, and it cannot be changed afterwards.
How Do I Define Files And Folders To Be Ignored By Kopia?
Add ignore rules to a policy or create .kopiaignore files in your directories.
How to Restore My Backed Up Files/Directories?
Restore from a snapshot by mounting it as a local disk, restoring everything to a chosen location, or selectively restoring individual files.
What is a Policy?
A set of rules telling Kopia how to create and manage snapshots, including compression, retention and scheduling.
What is a Repository?
The storage location where snapshots are saved; Kopia supports cloud, remote, network and local locations, all encrypted with a password you designate.
What is a Snapshot?
A snapshot is a point-in-time backup of your files and directories, containing what you can restore when needed.
More in Backup
lazywardenAutomatic Bitwarden Backup
LitestreamOpen-source, self-hosted SQLite replication tool: streams database changes to S3, GCS, Azure or local files, restoring to the last replicated transaction.
Lynavo DriveSelf-hosted, open-source iCloud/Google Photos alternative that auto-syncs photos from mobile to desktop over LAN.
mail-archiverMail-Archiver is a web application for archiving, searching, and exporting emails from multiple accounts. Featuring folder sync, attachment support, mailbox migration and a dashboard.
nas-doctorSelf-hosted NAS monitoring with SMART health, Docker, ZFS, UPS tracking, service checks, and Prometheus metrics — runs on Unraid, TrueNAS, Synology, Proxmox, Kubernetes.
OpenSaveFree open-source tool syncing game saves peer-to-peer. Auto-finds saves for 20,000+ titles, uses self-hostable relay for internet sync, keeps snapshot history.
oxidizedOxidized is a self-hosted, open-source network device config backup tool replacing RANCID. Supports 150+ device types, REST API, web UI, and Git/file/HTTP storage.
perkeepPerkeep is an open-source, self-hosted personal storage system for keeping, syncing and sharing content, with search, a web UI, FUSE mounts and cloud blob backends.
pgbackwebSelf-hosted, open-source web interface for effortless PostgreSQL backups: scheduled jobs, local or S3 storage, PGP encryption, health checks and webhooks.
plakarSelf-hosted, open-source backup tool: encrypted, deduplicated snapshots you can browse, diff and verify, with sync to S3 or local stores.
plutonOpen-source, self-hosted backup using Restic and Rclone for encrypted incremental backups across 70+ cloud providers with web UI, 3-2-1 replication, and 2FA.
proxmox-backup-serverSelf-hosted, open-source Docker build of Proxmox Backup Server for AMD64 and ARM64, providing backup storage and management with a web UI on port 8007.
0 comments