How to backup/restore your linux packages in Ubuntu 18.10

If you need migrate your packages to another computer, the best choice is to restore the packages to avoid install all of them again manually.
I'm going to describe three tools that I test to do it.

apt-clone is a tool for backup all your packages installed through apt. To install it just execute:

sudo apt install apt-clone
sudo apt-clone clone path_to_save_backup

Now, to restore the packages, just copy this file in your new station and execute the following:

sudo apt-clone restore apt-clone-state-*.tar.gz

It works very well, but some times you can get this error:



Deja-dup is other tool to make backups and restore your packages. When I run it, I got this message:

InvalidBackendURL: missing // - relative paths not supported for scheme invalid: invalid://




This bug was reported here 2 years ago, but still is not totally fixed

Aptik is tyhe most functional tool with GUI. To install it just execute:

sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get install aptik aptik-gtk

Is a very intuitive tool.

Other tools that I finded, but I didn't test, were backup-manager, systemback, timeshift, duplicati, and aptoncd.

Enjoy it!

Comments

Popular posts from this blog

Exception: Could not find a default OpenFlow controller in Mininet

How to fix Android when developer options are not available for this user

Webcam streaming throught VLC with YUY2 compatibility