While in the first part of this series dedicated to the Proxmox backup server we saw how to install the distribution, and in the second we explored the web administration interface, in this third tutorial, we learn how to create and restore a backup of a physical host using the Proxmox backup client.
Proxmox backup server is an enterprise-level solution to backup containers, virtual machines and physical hosts. In the first part of this series, we learned how to download and install the distribution. Although the system can be managed from the command line, just like any other Linux distribution, it comes also with a user-friendly, integrated web interface.
Proxmox backup server is a free and open source, enterprise-level backup solution. It is implemented as a dedicated Linux distribution based on Debian, and supports essential features like deduplication and encryption. We can use it as a solution to back up and restore virtual machines, containers and physical hosts.
A big number of Raspberry Pi users love to experiment with the device. For many, that was the motivation of purchasing it in the first place. It is not uncommon to lose some files or corrupt an operating system on your Raspberry Pi every now and then, as a result of experimentation. But this is never much of a problem – that is, as long as you have made proper backups.
Restic is a cross-platform, free and open source program written in Go. We can use it to create compressed, encrypted and space efficient backups, since it is smart enough to archive only changed fragments of files. Restic can use many storage services as targets, such as Google Drive or AWS (Amazon Web Services) S3 buckets, but works also locally and over plain SFTP connections.
Borgmatic is a free and open source configuration-driven wrapper around Borg, the secure and space-efficient archiver. Borgmatic allows us to orchestrate Borg backups by setting redundancy, rotations, hooks and many other things in a central place: an human-friendly and very well commented configuration file.
Git is by far the most used version control system out there. Originally created by Linus Torvalds, it is free and open source software, released under the GPLv2 license. Many online platforms such as Github or Gitlab allow developers to easily store and track changes in their code in public or private repositories using git as a backend.
Although Ubuntu Linux is known for being a very stable operating system, it can’t protect your files against a failing hard drive or other components that can corrupt your files. Therefore it is always a good idea to regularly create backups. There are many types of backup software, and many possible backup strategies which can be implemented on Ubuntu using free and open source software, so how do you pick the best one?
XFS is a journaled filesystem originally developed by Silicon Graphics in 1993; it was released under the GPL license in the year 2000 and ported to the Linux kernel in 2001. Due to its high scalability and performances, XFS became the default filesystem in recent versions of Red Hat Enterprise Linux and its clones.
Making a clone of your Linux system is a great way to make a complete backup. This type of backup would preserve all your system and personal files, as well as any customizations and settings that you have applied to your operating system over time (assuming everything is on one hard drive). Cloning and restoring a Linux system is relatively easy, since Linux will not encounter errors if you clone it onto different hardware – at worst, you may have a few hiccups, such as the need to uninstall and install necessary drivers.
Dconf is the low-level configuration system used by the GNOME desktop environment. It is basically a database, where the various configuration are stored as keys together with their values. The keys in the database can be inspected, changed, or dumped with the dconf utility or by using the dconf-editor graphical tool.