In my previous post on the topic of Backup and Restore I mostly focused on Windows use cases and only briefly touched upon backing up Linux and MacOS systems. This is because Windows users have access to the amazing file system snapshotting capabilities in the form of Volume Shadow Copy “by default”. As for MacOS – it comes bundled with its own backup management suite called Time Machine, so backups are possible out of the box in there as well.
As for Linux folk... It’s a bit more involved, but still perfectly possible to backup systems without any downtime. And to do this one would need to make sure their system is running off an LVM system partition.
If you have no idea what LVM stands for (spoiler: it’s “Logical Volume Management”), I would suggest you first get up to speed with what LVM is and why one would want to use an LVM partition for system storage rather than a standard EXT4/XFS one.
Either way, if you want to have an ability to backup a live Linux system (like an "always on" server or a hypervisor), you need to make sure the OS is installed onto an LVM-enabled volume, which supports creation of Snapshots. In this example we’ll set up an installation for a system with an EFI System Partition for boot-loader management. If you’re planning to go with a legacy BIOS boot instead, just skip the EFI partition creation step. The process is very straightforward and only takes minutes to complete.
Linux Mint is my long-standing favorite among all distros, so I will be using it to guide you through the process. But the steps described here should be more or less identical for the majority of Linux distributions, especially Ubuntu Linux derivatives, which Mint certainly is. I will also assume you have basic understanding of Linux, storage systems and disk partitioning, otherwise you should certainly not follow the guide and get some more experience first.
I have a lot of files...
And I bet you do too.
You probably also use your computers on a daily basis. Those are cool. But sometimes they crash or glitch. Get stolen or hacked. Or install Windows 10 updates. Or die in a fire.
Together with all your files and memories.
Consequently, today I'd like to direct your attention to the topic of data backup.
It sure is.
Still, part of getting any work done on a computer is making sure your files don't accidentally get lost. Whether you like it or not, unless you have someone else responsible for keeping your data safe, you should adhere to a certain form of a backup strategy on your own.
Unfortunately, lots of people overlook this topic, and end up losing sizable amounts of their labor.
If any of this sounds familiar, this post will present a couple of suggestions and tools. And most of those won't cost you a dime.
Otherwise, if you are already using some form of a backup solution to manage redundant copies of the files you're working on, you probably won't discover anything particularly new here.
This article is not meant as an all-encompassing guide, but rather a brief introduction. One without product placements, affiliate links or hidden ads. Just honest opinions based on personal knowledge and experience.