Urgent.News

What's breaking now, across thousands of outlets.

Tech

5 Linux Backup Utilities That Actually Save Your Data

Backups are boring until the day they save you. A failed update, a dead SSD, one wrong rm -rf — any of them can turn years of files into a bad week. The fix isn't complicated: pick a tool, automate it, and test restores occasionally. Here are five backup utilities for Linux that actually get used in the real world, from simplest to most complete. For the bigger picture (how many copies, where to…

Backups often go unnoticed until they're needed, at which point a single misstep can result in the loss of years' worth of data. Fortunately, implementing a simple backup strategy on Linux is straightforward: choose a tool, automate the process, and verify restores periodically. This article presents five Linux backup utilities that are commonly used in real-world scenarios, ranked from the simplest to the most comprehensive.

Rsync is a versatile and widely available tool for copying files efficiently across disks or servers. It transfers only the modified parts of files, minimizing bandwidth usage. To use rsync to back up a user's home directory to another disk or server, one would run a command such as "rsync -avh --progress /home/user/ /mnt/backup/home/".

For archiving directories, tar provides a straightforward solution. The command "tar -czvf etc-backup-$(date +%F).tar.gz /etc" creates a compressed archive of the /etc directory with a timestamp appended to the filename. Restic offers a modern approach with strong encryption, deduplication, and support for cloud storage. It's ideal for users who need to keep offsite backups.

Lastly, Timeshift is particularly suited for desktop environments, creating system snapshots that allow users to revert to a previous state in case of system instability. However, it should not be relied upon as the sole backup solution, as it primarily protects the operating system rather than user data. Regardless of the chosen utility, regular testing of restores is crucial to ensure backup integrity.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

The Uninstall That Actually Works: A Practitioner’s Guide to Cleaning Up Windows Apps

The Uninstall That Actually Works: A Practitioner’s Guide to Cleaning Up Windows Apps I’ve lost count of how many times a “simple” uninstall left me with a broken PATH, a zombie service, or a registry…

  • Perform inventory of app footprint before uninstalling
  • Run official uninstaller using appropriate method based on app type
  • Rename leftover files to .bak extensions for safekeeping

Your API Works. But Is It Actually Reliable?

Building a REST API is easy. Building one that handles things going wrong? That's where it gets interesting. When I first started working with APIs, I mostly cared about one thing: Does the endpoint…

  • Utilize appropriate HTTP status codes for clear communication
  • Validate user input to prevent database corruption
  • Implement custom error handling to maintain API stability

The Linux Filesystem Explained for Beginners (What Lives Where)

Coming from Windows, the Linux filesystem looks alien at first: no drive letters, no C:\ , and a bunch of directories with cryptic three-letter names.

  • Linux filesystem organized under a single root directory "/"
  • /home holds each user's personal files, often referred to as "~"
  • Permissions determined by owner, group, and read/write/execute settings

More from Monday 2 November →