Aptik Migration Utility

Page_Aptik.md

Project Page: https://launchpad.net/apt-toolkit

Aptik is a tool for migrating system settings and data to a fresh install of a Ubuntu-based distribution. It can be used while re-installing or upgrading to the next Ubuntu/Linux Mint release.

Upgrading to the next release of an Ubuntu-based distribution can be a painful task. Using the dist-upgrade option can sometimes results in broken packages and missing dependencies which can make the system unusable. If proprietary graphic drivers are in use, the system may boot into a black screen after the upgrade. The look and feel of the new release is lost since the previous desktop settings are used.

In order to avoid problems most people prefer to do a clean installation. While a clean installation avoids the problems that an upgrade can cause, setting up the new system can be a tedious task. Most people put off upgrading their system in order to avoid this trouble of setting up the new system.

Aptik is a tool that will make your life easier. While it won’t eliminate all the work that needs to be done after a fresh installation, it will reduce it greatly.

Aptik can backup and re-install PPAs, software packages, application settings, themes, mount entries, users/groups, home directory data and scheduled tasks with a single click. Each item can be also be backed-up and restored individually.

Features

Backup and Restore for the following:

  1. Software Packages - Displays a list of all extra packages installed on the system. Saves the list of all extra packages to backup location and re-installs the packages on the new system.

  2. Launchpad PPAs - Displays a list of all third-party repositories (Launchpad PPAs) added to the system. Saves the list of PPAs to backup location and re-adds the PPAs on the new system.

  3. Downloaded Packages - Saves the downloaded DEB packages in the APT cache to the backup location. These are copied back to the APT cache during restore so that the packages don’t need to be downloaded again.

  4. Icons & Themes - Backs up installed GTK/KDE themes and icon themes from /usr/share/icons and /user/share/themes. These can be restored on the new system.

  5. Application Settings - Saves zipped archives of application configuration folders from home directory to the backup location. Restoring the directories on the new system will restore the settings for applications like Firefox, Chromium, etc. This is better than taking a backup of your entire Home directory as you can restore the settings for specific applications while keeping the new configuration for other applications.

  6. Users & Groups - Backs up the users and groups created by user and restores them on the new system. All user account settings will also be restored including the login password, group memberships, account expiry settings, password change policy, etc.

  7. Mount Entries - Backs up the entries in /etc/fstab and /etc/crypttab and restores them on the new system. During backup, the fstab and crypttab files are saved to the backup location, along with any key files referenced by crypttab. Files are encrypted with GPG so that the passwords and key files referenced by crypttab remain safe. During restore, missing entries will be appended to the fstab and crypttab files and the mount point directories will be set up with proper permissions. Key files (if any) will be restored to the original location.

  8. Home Data - Backs up the contents of the user’s Home directory and restores them on the new system. Backups are incremental, compressed (with gzip) and encrypted (with GPG). duplicity is used as the backend.

  9. Scheduled Tasks - Backs up the cron tab entries for all users and restores them on the new system.

Encrypted Backups
Backups containing sensitive or personal data are encrypted using AES-128 encryption. The passphrase needs to be set before taking backups and must be provided before restore.

Individual and Batch Operation
Items can be backed-up and restored individually or together using the One-Click button.

Supports All Ubuntu-Based Distributions
Aptik can be used on all Ubuntu-based distributions such as Ubuntu, Xubuntu, Linux Mint, Elementary OS, etc.

Screenshots

Main Window

Restore Software Sources (PPAs)

Restore PPA - Progress

Restore Downloaded Packages

Restore Packages

Restore Packages - Download Manager powered by aria2

Restore Packages - Last step

Backup Application Settings

Backup Themes

About Dialog

Installation

Ubuntu-based Distributions (Ubuntu, Linux Mint, etc)

Packages are available in the Launchpad PPA for supported Ubuntu releases. Run the following commands in a terminal window:

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

For older Ubuntu releases which have reached end-of-life, you can install Aptik from the DEB files linked below.
aptik-latest-i386.deb (32-bit)
aptik-latest-amd64.deb (64-bit)

Debian

DEB files are available from following links:
aptik-latest-i386.deb (32-bit)
aptik-latest-amd64.deb (64-bit)

Other Linux Distributions

An installer is available from following links:
aptik-latest-i386.run (32-bit)
aptik-latest-amd64.run (64-bit)

Removal

Run the following commands in a terminal window:

sudo apt-get autoremove aptik

Donations

If you want to buy me a coffee or send some donations my way, you can use Google wallet or Paypal to send a donation to teejeetech at gmail dot com.
Donate with Paypal
Donate with Google Wallet

Disclaimer

The applications on this website are free for personal and commercial use and are licensed under the GNU General Public License. They are distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You are using these applications entirely at your own risk. The author will not be liable for any damages arising from the use of this program. See the GNU General Public License for more details.