Kopia
Open-source, fast, and encrypted backup tool with deduplication and multi-cloud storage support.
Why consider Kopia?
Kopia is a fast, secure, and open-source backup tool that features end-to-end encryption, deduplication, and incremental snapshots to local or cloud storage.
Learn Kopia by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Kopia: Secure, Cross-Platform Backup with Incremental Snapshots
Data backups are a crucial aspect of system administration, but they can quickly consume vast amounts of storage and network bandwidth if not managed efficiently. Kopia addresses this challenge by providing a fast and secure backup/restore tool. Kopia allows you to encrypt snapshots of your data and save them to local, network, or cloud storage. It stands out by utilizing content-addressable storage to ensure that each snapshot remains incremental and duplicate files are stored only once, drastically reducing long-term storage costs.
Whether you prefer automation via scripts or visual management, Kopia offers both a command-line interface and a graphical user interface. This flexibility makes it accessible for daily users while providing the granular control required by advanced operators and server administrators.
Intelligent Policies and Deduplication
A major strength of Kopia is its granular policy system. You can establish global, per-host, per-user, or path-specific policies to dictate snapshot scheduling, file exclusions, retention, and compression methods. This tiering allows administrators to define a baseline backup strategy globally while overriding specific rules for high-churn directories or sensitive user data.
Because Kopia is designed for untrusted storage environments, it prioritizes security from the ground up. Kopia performs end-to-end encryption locally using AES-256 or ChaCha20, meaning your password never leaves the machine. Even if a cloud provider is compromised, the snapshot data remains unreadable. Additionally, to combat data degradation on spinning disks or remote arrays, Kopia provides the Reed-Solomon error correction algorithm to defend against bitrot and hardware-induced corruption.
Snapshot Creation and Restoration Workflows
Creating a backup repository and taking your first snapshot is straightforward using the CLI. For instance, to initialize a local filesystem repository, you can use the following command:
kopia repository create filesystem --path /tmp/my-repositoryOnce connected, capturing a snapshot is just a matter of specifying the target directory:
kopia snapshot create $HOME/Projects/github.com/kopia/kopiaWhen run subsequently, Kopia will scan the directory and only upload the parts that have changed, completing the snapshot in a fraction of the time. You can verify the snapshot history for a directory using the list command:
kopia snapshot list $HOME/Projects/github.com/kopia/kopiaYou can examine snapshot contents natively in the command-line by running kopia ls -l with the corresponding snapshot root identifier.
If a disaster strikes or you simply need to retrieve an older version of a document, Kopia provides flexible recovery options. Backups can be restored by mounting a snapshot as a local disk, restoring all contents to a designated directory, or downloading individual files. This means you do not have to extract a massive multi-gigabyte archive just to rescue a single deleted text file.
For comprehensive documentation, feature breakdowns, and advanced usage scenarios, visit the official Kopia features page and the Getting Started guide.
Related tools
More options with a similar category or technology profile.
boringproxy
Simple, self-hosted reverse proxy and tunnel manager for exposing private web services securely.
OWASP ModSecurity
Open-source Web Application Firewall (WAF) engine providing cross-platform HTTP security inspection.
OpenCTI
Open-source platform for managing cyber threat intelligence knowledge and STIX2 relationships.
Maltrail
Malicious traffic detection system utilizing public blacklists and heuristic traffic behavior analysis.