Monday, May 7, 2012

How to create a Backup For Your Installed Apps in Ubuntu or any Ubuntu based System


I.Backup
1. Ctrl + Alt + T(Opens Terminal)
2.Get root access (i) Type "sudo su" then press Enter (ii)Give Your Password
3. Install Require Packages (i)apt-get install fakeroot
(ii)apt-get install dpkg-repack
4.cd to Your Backup directory For example ,Say U have a Thumbdrive and created a folder backup "cd /media/usb/backup"
5.Run the Following in terminal
fakeroot -u dpkg-repack `dpkg --get-selections | grep install | cut -f1`
II.Restore
Steps to reinstall packages
1.Ctrl + Alt +T(Opens Terminal)
2.cd to the "backup" directory
"cd /media/usb/backup"
3.Run the Following in terminal
sudo dpkg -i *.deb

Hope This Helps,Good Day ;) Note:Tested With Ultimate Edition Live USB Created DEBs of all Applications ;) 

No comments: