Donations

Donations received in July: $60 Donate: Paypal | Patreon | Bitcoin

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.

20 comments:

  1. Dear TeeJeeTech (Tony),

    I just wanted to say Thank You for providing these excellent software packages. I really love the "Aptik" backup program, and I use it a lot. I was really glad to see the new features for a one button backup or restore.

    I am using Linux Mint KDE (32-bit) and I recommend your products to the Linux Mint forum members all the time. I am Mint Forum User "phd21".

    Best regards to you and yours,
    Phil
    phd21mint@gmail.com

    PS: FYI: I could not install the 32-bit deb file on a fresh install of Linux Mint KDE (32-bit) because of errors with dependencies. But, the PPA installed perfectly.

    ReplyDelete
  2. In the past I've happily used Aptik. Unfortunately I seem to be having a dependency problem updating to the latest version: for the last few months the Software Updater has been unable to upgrade to the latest version. I purged the PPA and attempted to download the .deb file, but when I try to install it using gdebi, I get "Error: Dependency is not satisfiable: libvte-2.91-0" Oddly, searching for this error message turns up nothing.

    ReplyDelete
    Replies
    1. Which Ubuntu release are you using? Search for the libvte package using Synaptic. Either v2.90 or v2.91 is required.

      Delete
    2. Hmm, according to Synaptic, I have the latest version of libvte, which it claims is 2.90.

      Here's what the pertinent (green-buttoned) part of Synaptic looks like:

      Package Installed Version Latest Version
      libvte-2.90-common 1:0.34.9-1ubuntu2 1:0.34.9-1ubuntu2
      libvte-common 1:0.28.2-5ubuntu1 1:0.28.2-5ubuntu1
      libvte-2.90-9 1:0.34.9-1ubuntu2 1:0.34.9-1ubuntu2

      Delete
    3. sorry, forgot to add I am at 14.04 (32-bit)

      Delete
    4. I am still hoping to get Aptik running. Once again, when I try to install, I get "Error: Dependency is not satisfiable: libvte-2.91-0" even though Synaptic indicates libvte-2.91-common, libvte-2.90-common, libvte-common, libvte-2.90-9 are all installed. Any ideas how to fix this?

      Delete
    5. somehow, the main Ubuntu sources got removed from /etc/apt/sources.list, so I cleared up that problem -- just in case someone else should run across it.

      Delete
    6. Regret I'm unable to install Aptik on Ubuntu 16.04. Terminal response:

      ~$ sudo apt-get install aptik
      [sudo] password for er:
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies.
      aptik : Depends: aptitude but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      ~$ sudo apt-get install aptitude
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies.
      aptitude : Depends: libcwidget3 but it is not going to be installed
      Depends: libsigc++-2.0-0c2a (>= 2.0.2) but it is not going to be installed
      Depends: libxapian22 but it is not going to be installed
      Recommends: apt-xapian-index but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.

      Delete
    7. Strange. Try running "sudo apt-get install aptitude" before running "sudo apt-get install aptik"

      Delete
  3. Thank you for this super and easy to use package. I use it as a backup utility. Wish it could save also incremental

    ReplyDelete
  4. Can i backup to a windows share folder or some kind of remote folder?

    ReplyDelete
    Replies
    1. Yes you can. Select the back location before taking backup.

      Delete
  5. Made a backup and can see the backup files on my USB stick, but cant restore my home directory/ Horrible

    ReplyDelete
  6. Hi I made the mistake of choosing to backup settings to a file on my home dir and all was well until I made the mistake of checking the backup home dir option not realizing that I was backing up entire dir to itself when I got the out of diskspace msg I went in and chose to delete that file and sent it to trash. when I go to empty tras it gives me a permissions error so I can't reclaim the space. Help!

    ReplyDelete
    Replies
    1. I'll add a check for this in the next update. You need to delete the backup files as root. Open a terminal window and type the command "sudo rm -rf [path-to-backup-folder-or-files]". You can forcefully empty trash with the following command: "sudo gvfs-trash --empty --force"

      Delete
  7. sorry my email is kreyon@earthlink.net

    ReplyDelete
  8. Hi Tony, just a heads up. I run about 50 Linux Distros and nearly all are great with the Aptik-Timeshift combo. However 3 different iterations I have of Ubuntu 16.10 Yakkety Yak MATE will not allow for an install of Aptik via the ppa method that involves both timeshift and aptik, it reports at Terminal that the Aptik package cannot be found. So ppa fine, timeshift fine, can't find Aptik. Works fine with the 16.04 Xenial Xerus and the Linux Mints. I have a Tutorial on Aptik in that offshoot of the Linux & Unix Section at bleepingcomputer.com, and I want to give my readers the correct information. Let me know if there is any further info I can provide. Cheers, Wizard

    ReplyDelete
  9. Hi,

    Can I use use this to backup my settings in Ubuntu Gnome and then restore them in a fresh regular Ubuntu install?

    Thanks,

    Erol

    ReplyDelete
  10. Aptik works on unity but not on mate desktops. Which I have both on my Acer laptop.

    ReplyDelete
  11. When I try to start aptik mate, the start up icon shows up for awhile then goes away and then nothing happens. I have Ubuntu 16.04 with both unity and mate desktop enviourment installed and all is updated as far as I know

    ReplyDelete