{"id":2922,"date":"2014-01-29T08:25:28","date_gmt":"2014-01-29T08:25:28","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=2922"},"modified":"2016-02-01T13:49:18","modified_gmt":"2016-02-01T13:49:18","slug":"aptik-simple-tool-backup-packages-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2014\/01\/aptik-simple-tool-backup-packages-ubuntu\/","title":{"rendered":"Aptik &#8211; Simple Tool to Backup List of Installed Packages in Ubuntu"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/upgrade-ubuntu-release.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/upgrade-ubuntu-release.png\" alt=\"backup ubuntu packages\" width=\"250\" height=\"250\" class=\"aligncenter size-full wp-image-2892\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/upgrade-ubuntu-release.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/upgrade-ubuntu-release-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p><b>Aptik<\/b> is a new tool to simplify re-installation of packages after doing a clean installation of an Ubuntu-based distribution. It can be used while re-installing or upgrading to the next Ubuntu\/Linux Mint release.<\/p>\n<p>With this simple tool, you can backup &#038; restore:<\/p>\n<ul>\n<li>Software Sources (PPAs.)<\/li>\n<li>Software selections (list of installed packages)<\/li>\n<li>Downloaded Packages (APT Cache)<\/li>\n<li>Themes and Icons<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/Aptik-backup.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/Aptik-backup.png\" alt=\"Aptick Ubuntu Backup Tool\" width=\"558\" height=\"386\" class=\"aligncenter size-full wp-image-2923\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/Aptik-backup.png 558w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/Aptik-backup-300x207.png 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/a><\/p>\n<p><b>How to Use Aptik:<\/b><\/p>\n<p>Plug-in your pen drive and create a new folder on it named &#8216;backups&#8217;. Start <b>Aptik<\/b> and select the new folder as the backup directory.<\/p>\n<p>1. Backup PPAs:<\/p>\n<p>Click on the Backup button and you&#8217;ll see a list of third-party PPAs as well as the installed packages from PPAs.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/backup-ppas.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/backup-ppas.png\" alt=\"backup ppas\" width=\"541\" height=\"382\" class=\"aligncenter size-full wp-image-2924\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/backup-ppas.png 541w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/backup-ppas-300x211.png 300w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/a><\/p>\n<ul>\n<li>PPAs with a green icon are active and have some packages installed.<\/li>\n<li>PPAs with a yellow icon are active but unused (no packages installed).<\/li>\n<\/ul>\n<p>Select the PPAs to backup and click the Backup button. A file named &#8216;ppa.list&#8217; will be created in the backup directory.<\/p>\n<p>2. Backup Software Selections:<\/p>\n<p>Click on the Backup button will display a list of installed top-level packages. These packages are top-level packages. Dependency packages will not be listed.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/backup-list-software.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/backup-list-software.png\" alt=\"backup list of installed software\" width=\"571\" height=\"401\" class=\"aligncenter size-full wp-image-2925\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/backup-list-software.png 571w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/01\/backup-list-software-300x210.png 300w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/a><\/p>\n<p>All packages that are a part of the Linux distribution are un-selected by default. For example, Firefox is a package that is installed by default on most Linux distributions. Since it came with the distribution, it will be un-selected by default. It can be selected if required.<\/p>\n<p>A file named &#8216;packages.list&#8217; will be created in the backup directory after you clicked no the backup button.<\/p>\n<p>3. Click the <i>Backup<\/i> button for <b>Downloaded Packages<\/b> will paste packages from your system cache (\/var\/cache\/apt\/archives) to backup folder.<\/p>\n<p>4. Similarly, all themes and icons from the directories \/usr\/share\/themes and \/usr\/share\/icons can be zipped and saved in the backup folder.<\/p>\n<p><b>To restore backups:<\/b><\/p>\n<p>Connect your pen drive to the new system. Install and then start <b>Aptik<\/b> and select the backup folder on the pen-drive as the backup directory. Click on the <i>Restore<\/i> buttons and select packages, PPAs, themes and restore them one by one.<\/p>\n<p><b>About the &#8220;Fix Ownership of Home folder&#8221;:<\/b><\/p>\n<p>The home folder can be manually copied to another location and then restored after doing a fresh install. However, it can sometimes cause problems if the user&#8217;s login name or UID is different from the previous one. Click the Take Ownership button to change ownership of files in your home directory to your current login ID. This is same as running the following command:<\/p>\n<pre style=\"border:none;\">sudo chown username -R \/home\/username<\/pre>\n<p><b>How to Install Aptik:<\/b><\/p>\n<p>Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run below commands one by one:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository -y ppa:teejee2008\/ppa\n\nsudo apt-get update\n\nsudo apt-get install aptik<\/pre>\n<p>Works for Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04 and their derivatives.<\/p>\n<p>via: <a href=\"http:\/\/www.teejeetech.in\/2014\/01\/introducing-aptik.html\" title=\"Aptik website\" target=\"_blank\">teejee<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Aptik is a new tool to simplify re-installation of packages after doing a clean installation of an Ubuntu-based distribution. It can be used while re-installing or upgrading to the next Ubuntu\/Linux Mint release. With this simple tool, you can backup &#038; restore: Software Sources (PPAs.) Software selections (list of installed packages) Downloaded Packages (APT Cache) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[551],"class_list":["post-2922","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-backup"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/2922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=2922"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/2922\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=2922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=2922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=2922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}