How to backup and restore your applications and PPAs in Debian with Aptik

As regular Linux users, we know that whenever we need to install a new version of our OS or when we switch to another system, we must reinstall and reconfigure all applications and settings one by one in our new system. What if we have an easy way to reinstall and reconfigure these applications and settings in our new system? Fortunately, we have a wonderful tool known as Aptik, which backs up all our PPAs, installed packages, themes, fonts, settings, and much more, and helps us restore them to our new system or new version.

How can aptik help?

With Aptik, you can perform the following backups:

  • Launchpad ppa
  • Installed Applications
  • Apt cache for downloaded packages
  • Application settings
  • Home directory
  • User and group accounts
  • Themes and Icons

In this article, we will explain how to install Aptik and Aptik GTK on your system through the command line. Next, we will explain how to use Aptik to back up data from the old system and restore it to the new system.

We explained the procedure mentioned in this article for the Debian 10 system.

Installation Aptik and Aptik GTK

First you need to download the installation file for the Aptik program. To do this, open the next page and download the DEB and RUN file for Aptik.

https://github.com/teejee2008/aptik/releases

The next step is to install the package. To do this, open the terminal by going to the “Actions” tab in the upper left corner of the desktop. Then in the search bar enter the keyword terminal. When the search result appears, click on the terminal icon to open it.

In the terminal, enter the following command to go to the ~ / Downloads directory:

$ cd ~/Downloads

Then run the following command to install Aptik:

$ sudo apt install ./aptik-gtk-v18.8.2-amd64.deb

When prompted for a password, enter the sudo password.

The system may request confirmation by providing you Y / N option. Hit Y and then To come in continue. Now wait a while until the installation is complete.

To verify the installation and verify the version, run this command in Terminal:

$ aptik –version

Aptik version

Similarly, to install the Aptik graphics utility, run the following command in the ~ / Downloads directory:

$ sudo ./aptik-gtk-v18.8-amd64.run

Install aptik

Launch and use the Aptik GTK

To start Aptik through the command line, use the following command:

$ aptik-gtk

Aptik State Customs Committee

In addition, you can run the Aptik utility through a graphical interface by opening it from the list of installed applications.

Each time you start the Aptik application, you will be asked to enter the superuser password, since only an authorized user can run / usr / bin / bash.

Authenticate as administrator

Enter the password for the superuser and press Authenticate after which the Aptik application will be launched.

Start backup with Aptik

To back up from your system, select Spare option for Backup mode, Under the backup location, click Select Press the button and select the correct place where you want to store backups.

Select backup directory

Then select Spare Tab from the left pane. Here you will see a list of items and settings that you can add for backup. Select the necessary items and settings or click Back up all items button at the bottom of the application window if you want to backup all settings.

Pharmacy Settings

You can see the backup process in the terminal window of Aptik. When finished, you will see the message “Backup completed” at the end of the screen:

Backup completed

App recovery with Aptik

Now on the same or new system where you want to restore the backup, open the Aptik application.

After starting Aptik, select the place where you want to recover data from. Then under BCall mode, Select Reestablish.

Backup location

Next, select the “Restore” tab in the left pane.

App recovery with aptik

From here you can select the items and settings that you want to restore from the backup you created earlier, or click on Recover All Items A button at the bottom of the window to restore all items.

You can see the recovery process in the Aptik terminal window. Once completed, you will see the “Restore Complete” message at the end of the screen as follows:

Recovery successful

Using Aptik CLI

You can also back up or restore from the command line using the Aptik CLI. To find detailed help regarding the Aptik CLI, use one of the following commands in the Terminal:

$ aptik

or
$ aptik --help

Aptic Kli

Remove Aptik and Aptik GTK

To remove Aptik and Aptik GTK from your system, use the following commands:

$ sudo apt-get remove aptik
$ sudo apt-get remove aptik-gtk

And then run the following command to remove the automatically installed packages:

$ sudo apt-get autoremove

Now that you have learned how to install and use Aptik to create and restore backups, you can safely transfer installed programs, PPA files and settings from your current system to a new one.

How to backup and restore your applications and PPAs in Debian with Aptik

Sidebar