apt-clone: ​​no more installations from scratch

Tux clones

When we have "tamed" an operating system, we have installed all the apps we need in our day to day and we have everything ready to work, but we find that, for whatever reason, we have to do a format or a new installation of our operating system and install all the apps from scratch, that is something quite tedious and It consumes a lot of time that we could use for other more productive purposes.

Well, today we are going to introduce you apt-clone, a tool that allows us to clone apps that we have installed to create a backup and then be able to restore it in a clean installation of Debian / Ubuntu / Derivatives. Thus, in operating systems based on DEB packages, it is becoming easier to install, with programs such as apt-clone, Aptik, etc. In fact, they are good complements, since with Aptik you can make a backup and restore it in a clean operating system, but in this case of settings and data.

If you want to try it, you can start now. For install apt-clone, just run:

sudo apt-get install apt-clone

Once installed, start perform the backup with:

sudo apt-clone clone /Directorio/done/quieras/guardar/copia_seguridad

And if we go to the directory where we have indicated to store the backup, we can see a .tar.gz with said backup. In it you will have all the hundreds or thousands of packages installed in your distro ready to be able restore with:

</div>
<div>sudo apt-clone restore /opt/nombre_tarball.tar.gz</div>
<div>
Evidently the .tar.gz From where we want to restore the apps, we will have to have it locally from the operating system in which we want all those apps to be installed… So you must first pass it through a pendrive, remotely using rcp, or however you want. By the way, restoring can overwrite /etc/apt/sources.list and could install or remove packages that you already have on your new OS, so you should be careful with this.

2 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   ubuntu-Peronist said

    On desktop systems the term app is not used

  2.   Name said

    In the instructions to restore the backup it seems that you have sneaked html code