Go4Expert (http://www.go4expert.com/)
-   Unix (http://www.go4expert.com/articles/unix/)
-   -   Backup/Distribute Installed Ubuntu Packages using APTonCD (http://www.go4expert.com/articles/backup-distribute-installed-ubuntu-t8083/)

pradeep 3Jan2008 00:03

Backup/Distribute Installed Ubuntu Packages using APTonCD
APTonCD is a tool with a graphical interface which allows you to create one or more CDs or DVDs (you choose the type of media) with all of the packages you've downloaded via APT-GET or APTITUDE, creating a removable repository that you can use on other computers.One thing you need to remember this will create backup all the packages installed using apt-get,synaptic because these package arcives are stored in /var/cache/apt/archives. And when you restore the package it WILL NOT install the packages but just copy them to the cache from where you will have to install them yourself.

APTonCD will also allow you to automatically create media with all of your .deb packages located in one specific repository, so that you can install them into your computers without the need for an internet conection.

APTonCD Features

  • Create media with all your downloaded packages
  • Create media with all packages from an especific repository
  • Download all official Ubuntu repositories (main,restricted,universe and multiverse) into removable media (CD/DVD)
  • Perform backup/restore all packages installed via apt
  • Install, with the same CD/DVD, the same programs into several different machines
  • Upgrade softwares/packages for several different machines, downloading them only one time

Install APTonCD in Ubuntu


sudo apt-get install aptoncd
or you can download .deb package from here once you have this you can install using the following command


sudo dpkg -i aptoncd_0.1beta-1_all.deb

Backup all your installed Packages

This will complete the installation and if you want to open the application go to System -> Administration -> APTonCD

In the APTonCD dialog you can see two buttons called create and restore first one is create button now if you want to create a backup of your installed packaged you need to click on "Create AptonCD" now you should see the following screen reading all the available packages from /var/cache/apt/archives directory, once it reads all the packages it'll show you the list of available packages you can backup, here you can add any other packages you want to add and click OK. You can burn the created ISO image to a CD/DVD, and use for later use or on other computers.

Restore Packages

If you want to restore your backup you need to click on restore button, in the following screen click "load" and then select the CD-ROM or ISO image to restore.

This tools is very useful if you want to install same packages in different machine you can save your bandwidth and if you have slow internet connection

arvind_khadri 19Apr2008 11:59

Re: Backup/Distribute Installed Ubuntu Packages using APTonCD
well isnt dpkg-divert meant for the same thing??

All times are GMT +5.5. The time now is 03:45.