Close Menu
GeekBlog

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    A Filmmaker Applied for a NASA Job and Got Rejected. Here’s What Applying to NASA Is Really Like.

    November 16, 2026

    Grok Says the Scariest Thing in the Universe Is False Vacuum Decay. Here’s What Physicists Actually Think.

    November 16, 2026

    Xbox Says Project Helix Is a Console That Plays Your PC Games, Not a PC That Plays Xbox Games

    November 16, 2026
    Facebook
    GeekBlog
    • Home
    • Mobile
    • Tech News
    • Blog
    • Gaming
    • Smartwatch
    • How-To Guides
    • AI & Software
    Facebook
    GeekBlog
    Home»How-To Guides»5 Command Line Backup Tools Every Linux User Should Use
    How-To Guides

    5 Command Line Backup Tools Every Linux User Should Use

    Ethan CaldwellBy Ethan CaldwellAugust 6, 2025Updated:October 12, 20266 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    5 Command Line Backup Tools Every Linux User Should Use
    Photo: Nick on Unsplash
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link

    Command line backup tools are the most reliable way to protect a Linux desktop or server, because they run the same everywhere, use few resources and are easy to schedule. The five worth knowing in 2026 are rsync, BorgBackup, restic, Kopia and rclone, with tar, Timeshift and Duplicity as useful extras. Below is what each does best, the current version and a short example to get started.

    Quick answer: Use rsync for simple mirror copies, BorgBackup or restic for encrypted, deduplicated backups with version history, Kopia if you want the same idea with an optional GUI, and rclone to push backups to cloud storage. For system rollbacks on a desktop, add Timeshift.

    The tools at a glance

    ToolBest forEncryptionVersion (Oct 2026)
    rsyncFast mirror copies, local or over SSHNo (SSH protects transfers)3.5.1
    BorgBackupVersioned backups to disks and SSH serversYes1.4.5 stable, 2.0 in beta
    resticVersioned backups to local, SFTP or cloudAlways on0.19.1
    KopiaSnapshots with optional desktop GUIAlways on0.23.1
    rcloneCopying files to cloud storageOptional crypt remote1.75.2

    1. rsync: the simple mirror

    rsync copies only what changed since the last run, which makes repeat backups fast whether the destination is a USB drive or another machine over SSH. It preserves permissions, ownership, timestamps and links when you run it in archive mode, which is the a flag. Add the delete option only when you want the destination to be an exact mirror, because it removes files there that no longer exist on the source. The project released version 3.5.0 in August 2026 as a major security update, followed by 3.5.1 in September, so update through your package manager if your distro ships an older build.

    The limitation is that rsync keeps one copy, not a history. If a file gets corrupted or encrypted by ransomware and you sync afterwards, the damage is copied too.

    2. BorgBackup: deduplicated, encrypted history

    Recommended for you:

    Nintendo Switch 2 Restock Tracker: Where to Buy in October 2026
    How-To Guides·Aug 6, 2025

    Nintendo Switch 2 Restock Tracker: Where to Buy in October 2026

    Borg stores each backup as an archive inside a repository, splits data into chunks and saves each chunk only once. Daily backups of a home folder therefore take little extra space. It supports compression and authenticated encryption, and repositories can sit on a local disk or a server you reach over SSH. You create the repository once with borg init and pick an encryption mode (repokey is the common choice), then back up and list archives like this:

    • borg create /mnt/backup/borg::docs2026 ~/Documents
    • borg list /mnt/backup/borg
    • borg extract /mnt/backup/borg::docs2026 (restores into the current folder)

    The stable branch is 1.4, currently 1.4.5. Borg 2.0 is still in beta with a new repository format, so stick with 1.4 for production backups.

    3. restic: one binary, many destinations

    restic offers a similar deduplicated, versioned approach, but ships as a single binary and talks to local folders, SFTP servers and many cloud object stores. Encryption is always on. Set the repository and a password file as environment variables, then run a few short commands:

    • export RESTIC_REPOSITORY=/mnt/backup/restic
    • export RESTIC_PASSWORD_FILE=~/.restic_pass
    • restic init, then restic backup ~/Documents
    • restic snapshots to see your history and restic check to verify the repository

    To restore, use restic restore with a snapshot ID, or the word latest, and the target option pointing at an empty folder.

    Watch out: with Borg, restic and Kopia, losing the repository password or key means losing the backup. Store the password in a password manager and, for Borg repokey repositories, export a copy of the key to a safe place.

    4. Kopia: snapshots with a GUI if you want one

    Kopia also encrypts, deduplicates and compresses, and it supports local disks, SFTP, WebDAV and cloud storage. What sets it apart is that the same engine powers both the command line tool and an optional desktop app, so you can script backups on a server and still browse snapshots visually on a laptop. After connecting a repository, kopia snapshot create ~/Documents takes a snapshot and kopia snapshot list shows them. The current release is 0.23.1.

    5. rclone: the bridge to cloud storage

    rclone is not a versioned backup tool on its own. It is a sync and copy utility that supports dozens of cloud services, from S3 compatible storage to consumer drives. Run rclone config to add a remote, then rclone copy ~/Documents mycloud:backup/docs to upload. Wrap a remote in a crypt remote to encrypt file contents and names before they leave your machine. Many people pair it with restic, which can use rclone as a backend.

    Extras: tar, Timeshift and Duplicity

    • tar is on every Linux system and is perfect for a quick archive: tar czf home.tar.gz ~/Documents creates a compressed file and tar xzf home.tar.gz unpacks it.
    • Timeshift, maintained by the Linux Mint team, takes system snapshots with rsync or Btrfs so you can roll back a bad update. It has a command line mode with create, list and restore options. By default it leaves out personal files, so it complements a data backup rather than replacing it.
    • Duplicity makes encrypted incremental backups with GnuPG and supports many remote backends. It is still maintained, with version 3.2.1 released in September 2026.

    FAQ

    Which tool should a beginner pick?

    Recommended for you:

    uBlock Origin Lite on Safari: How to Install It on iPhone, iPad, Mac
    How-To Guides·Aug 6, 2025

    uBlock Origin Lite on Safari: How to Install It on iPhone, iPad, Mac

    restic. It is a single program, encrypts by default, has clear commands and works with local drives and the cloud.

    How do I run backups automatically?

    Put your backup command in a small shell script and schedule it with cron (open your crontab with the e option) or a systemd timer. Check the logs now and then to confirm it ran.

    Is rsync a real backup?

    It is a copy, not a versioned backup. Combine it with dated folders or use Borg, restic or Kopia if you need older versions of files.

    How many copies should I keep?

    Follow the 3 2 1 rule: three copies of your data, on two different types of storage, with one copy offsite or in the cloud.

    The verdict

    For most Linux users, restic or BorgBackup covers versioned, encrypted backups, rclone gets a copy offsite and Timeshift protects the system itself. Keep rsync and tar in your toolbox for quick copies. Whatever you choose, test a restore today, because a backup you have never restored is only a hope.

    Updated October 2026: rewritten with current versions of rsync, Borg, restic, Kopia, rclone, Timeshift and Duplicity, plus starter commands for each.

    Featured photo: Nick on Unsplash.

    About this article: GeekBlog covers U.S. technology news, AI, phones, smartwatches and gaming. Every story is written and checked under our Editorial Policy. Spotted a mistake or have a story tip? Contact our editors.

    Linux
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email Copy Link
    Previous ArticleNintendo Switch 2 Restock Tracker: Where to Buy in October 2026
    Next Article How to Remove Malware From Your PC Using a USB Drive
    Ethan Caldwell

      Ethan Caldwell is GeekBlog's resident Apple specialist, covering the entire Apple ecosystem: iPhone, iPad, Mac, Apple Watch, AirPods and the software that ties them together. A longtime iOS user and gadget collector, Ethan tracks Cupertino's every move, breaking down Apple keynotes, A- and M-series chip benchmarks, iOS feature updates and the rumor mill into clear, practical takes that help readers decide whether the latest Apple hardware is worth the upgrade.

      Related Posts

      7 Mins Read

      OpenAI’s AI Pipeline Built 948 Linux Root Exploits in One Run for $1.2 Million

      9 Mins Read

      How to Fix Switch 2 Joy Con Drift: Calibrate, Update or Repair

      9 Mins Read

      How to Open Gaming Copilot in Xbox Game Bar on Windows 11

      9 Mins Read

      How to Fix Xbox Controller Stick Drift: 8 Fixes That Work

      11 Mins Read

      How to Back Up Your iPhone: iCloud, Mac and Windows Guide

      9 Mins Read

      Best Offline Music App in 2026: Free and Paid Picks

      Top Posts

      Every iPhone Camera Ranked in 2026 (Best to Worst)

      July 6, 2026361 Views

      Best Browser for Android in 2026: Top Picks Ranked

      July 7, 2026268 Views

      Apple Watch Black Friday 2026: Early Deals, Prices to Beat and When to Buy

      November 8, 2026177 Views
      Stay In Touch
      • Facebook

      Subscribe to Updates

      Get the latest tech news from FooBar about tech, design and biz.

      Most Popular

      MapQuest Now Shows the Plate Readers on Your Route. It Won’t Say Where the Map Comes From.

      October 19, 2026660 Views

      Apple Told Its Stores Not to Expect iPhone Duo Walk-Ins. Carriers Can Beat January by Weeks.

      October 20, 2026312 Views

      Apple Watch Black Friday 2026: Early Deals, Prices to Beat and When to Buy

      November 8, 2026216 Views
      Our Picks

      A Filmmaker Applied for a NASA Job and Got Rejected. Here’s What Applying to NASA Is Really Like.

      November 16, 2026

      Grok Says the Scariest Thing in the Universe Is False Vacuum Decay. Here’s What Physicists Actually Think.

      November 16, 2026

      Xbox Says Project Helix Is a Console That Plays Your PC Games, Not a PC That Plays Xbox Games

      November 16, 2026

      Subscribe to Updates

      Get the latest creative news from FooBar about art, design and business.

      HEICJPG.online - Convert HEIC to JPG online
      Facebook
      • About GeekBlog: Our Mission, Team and Editorial Standards
      • Contact us
      • Privacy Policy
      • Disclaimer
      • Terms and Conditions
      • Editorial Policy
      • Cookie Policy
      • Your Privacy Choices
      © 2026 GeekBlog

      Type above and press Enter to search. Press Esc to cancel.