Systemback – Restoring a Ubuntu Server to a previous state in a few steps

S

I think I discovered the simplest backup method for a Ubuntu server which isĀ Systemback. Sure, there is rsync, which does incremental backup, but it is more difficult to restore the server later.

Systemback can back up and restore a Ubuntu-based system; it means it works on both Ubuntu Desktop and Ubuntu Server. I will just limit myself to describing its operation on Ubuntu Server.

Systemback is similar to System Restore from Windows – it creates snapshots (images) of the server which it can later restore with a simple command. It is extremely useful and interesting.

Installing Systemback in Ubuntu Server

A PPA must be added:

sudo add-apt-repository ppa: nemh/systemback

If you receive the error message: sudo: add-apt-repository: command not found, write the following command:

sudo apt-get install software-properties-common

Repeat adding PPA. After pressing ENTER, update the software sources with sudo apt-get update command and install Systemback with:

sudo apt-get install systemback

After installation, before opening Systemback, we do a free space check on the server to see if there is enough room to create at least one Systemback image.

df -H

Running systemback

To open Systemback in CLI mode, we use the command:

sudo systemback-cli

As the first run, there are no available restore points. We will press g to create a new image of the server. Once the restore point creation is complete, it will be displayed in the Systemback main window in the Available restore point(s) section. The second restoration point will be called 2 -xxx.xxx- and so on.

To restore the Ubuntu server at a certain point in time for the created restore point, press the desired time number: in our case it is 1. After selecting, we can choose what to do next: delete the image or restore it. We’ll choose 2 for restoration. In the following window we can select the available restore methods:

1. Full restore
2. System files restore

I chose 1 (full restoration). The next window asks us if we want to keep the current fstab file and reinstall the GRUB. Finally, press Y to start restoring the server. That was all.

After reboot, our Ubuntu server is in the state it was at when the restore point was created. I also gave the command to check the free space after creating the restore point.

The restore point is stored in the /home directory.

The Systemback utility is extremely useful when we want to make changes or settings on the server, but we are not sure if they will give the expected results. To be protected, we take a picture of the entire server before the expected changes, so we can restore it (return to its original state) from some commands in very little time.

System restore is a feature for any operating system that allows the user to bring the computer to a previous point in time to troubleshoot system failures. Sometimes installing a program or driver can make the operating system malfunction. Restoring the system can bring your computer to a good working time. It will not affect documents, images or other data. SystemBack makes a backup of the system and the configuration files. In case of problems, you can easily restore the system to the previous state. There are additional features such as system copying, system installation and live system creation.

Restoring the system will not restore documents, music, emails, or personal files of any kind. Will not restore deleted files accidentally. If there is no restoration point on the computer, restoring the system can not be done.

What other backup methods do you use?

Recent Posts

Archives

Categories