Virteche
Guideschevron_rightStorage

Storage · 8 min read · Updated

Borg vs restic vs Kopia vs rclone: Which Backup Tool to Use

For a Linux server backing up over SSH, use Borg: fast, compressed and long proven. To back up to S3, or from Windows and macOS as well as Linux, use restic. If you want a desktop app for laptops and PCs, use Kopia. rclone is not a backup tool by itself: it copies and mirrors files, and is the right choice for moving data between storage providers. All four are free, open source, and encrypt your data before it leaves the machine.

Side by Side

BorgresticKopiarclone
What it isBackup toolBackup toolBackup tool, with a desktop appFile copy and sync tool
Keeps old versionsYes, as archivesYes, as snapshotsYes, as snapshotsNo (only with --backup-dir)
EncryptionYes, chosen at setupAlways onAlways onOptional (crypt remote)
DeduplicationYesYesYesNo
CompressionYes (lz4 by default)Yes (repository v2)Yes, when turned onNo
Stores backups onLocal disk or an SSH server with BorgLocal disk, SFTP, S3, B2, Azure, GCS, rcloneLocal disk, SFTP, S3, B2, Azure, GCS, WebDAV, rcloneOver 70 systems, from SFTP and S3 to Google Drive
WindowsNo (WSL only)YesYesYes
Cleaning up old versionsprune, then compactforget --pruneAutomatic maintenanceNot applicable

Borg: Linux Servers over SSH

Borg backs up to a local disk or to a server that has Borg installed, over SSH. That limit is also its strength: it is fast, compresses well, and has been used on servers for years. Old archives are thinned out with borg prune, and borg compact gives the space back. It runs on Linux and macOS; on Windows only through WSL.

Choose it for Linux servers backing up to a storage box. The whole setup is in How to back up a Linux server with Borg.

restic: One Tool for Every Machine and Backend

restic is a single program for Linux, macOS, Windows and BSD that backs up to local disks, SFTP, S3 and most cloud storage, and to anything else through rclone. Encryption cannot be turned off, compression arrived with repository version 2, and restic forget --prune deletes old snapshots and frees their space in one step.

Choose it when you back up to S3, or want the same tool on every operating system. Setup is in Using object storage and Connecting to a storage box.

Kopia: Backups with a Desktop App

Kopia works much like restic, with the same kinds of storage, but adds KopiaUI, a desktop app that sets up scheduled backups and lets you browse and restore files with a mouse. Policies per folder control how many versions to keep and whether to compress, and maintenance runs by itself.

Choose it for laptops and desktops, or for anyone who would rather not use a terminal. It connects to a storage box over SFTP and to object storage over S3.

rclone: Copying and Syncing, Not Versioning

rclone copies, syncs and mounts files on more than seventy storage systems. It is the best tool for moving a bucket from one provider to another, keeping a mirror, or reaching Google Drive or Dropbox from a server. A crypt remote adds encryption.

What it does not do is keep versions. With rclone sync, a file deleted on your side is deleted in the copy at the next run. Use it for transfers, and use a backup tool for backups. How to copy an S3 bucket with rclone shows it at its best.

Which One for You

  • A Linux server to a storage box: Borg.
  • Servers to S3 object storage: restic.
  • A mix of Linux, Windows and macOS with one tool: restic.
  • Laptops and desktops, with a desktop app: Kopia.
  • Moving data between providers, or a plain mirror: rclone.
  • A Synology NAS: Synology's own Hyper Backup.

Whichever you choose, restore something from it once a month. A backup you have never restored from is a hope, not a backup.

Common Questions

  • Is rclone a backup tool?

    Not on its own. rclone sync makes the destination match the source, so a file deleted or encrypted by ransomware on your side is deleted or overwritten in the copy at the next run. It is excellent for moving data and for mirrors; for backups, use it with --backup-dir, or use it as the transport under restic or Kopia.

  • Can I switch tools later?

    Yes, but not the history. Each tool has its own repository format, so a new tool starts with a fresh first backup. Keep the old repository until its versions are no longer needed.

  • How do I protect backups from a hacked server?

    Make sure the server being backed up cannot delete the backups. On a Virteche storage box, scheduled snapshots are read-only copies made on our side, which nothing connecting over SSH can change. For S3 storage, use a key that only that server has and keep a second copy elsewhere.

Storage boxes over SSH for Borg, restic, Kopia and rclone, and S3-compatible object storage for restic, Kopia and rclone. Both from 1 TB with transfer included.

See storage boxes

Keep Reading

All guides
Borg vs restic vs Kopia vs rclone | Virteche Cloud