Backup Installed Packages And Restore Them On Freshly Installed Ubuntu System

4 Responses

  1. Habadeer says:

    Does this include packages installed from ppa’s? If so, does it add the ppa to software sources?

    • Ievgen Sobko says:

      From what I see at `https://github.com/mvo5/apt-clone/blob/master/apt_clone.py` it tries to restore `sources.list.d` directory that usually represents ppa repositories
      “` python
      tar.extract(self.TARPREFIX+”etc/apt/sources.list.d”, targetdir)
      “`

  2. IronManMH12 says:

    Can this utility be used to clone (backup) on Ubuntu 16.04 and then restore on Ubuntu 18.04 ?

  3. sk says:

    No, both source and destination should have the same OS and architecture.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.