Restoring programs and settings after a reinstalling Ubuntu Security
Sunday, October 10, 2010
Projector Repair In Fredericton
now just released the new version of Ubuntu ( Maverick Meerkat
10.10) we face the eternal dilemma "upgrade or do a clean install? Here are the advantages of each method.
Clean Install: let the system clean, ensuring that everything works perfectly and no errors crept above configuration.
In most cases, ideally a mix: a clean system but maintaining the user settings and programs previously installed manually. In this this article we will see how to get it, a system installed from scratch while maintaining programs and persoanlizaciones we had in the previous system.
Keep user settings
/ home
, all you have to do is keep this folder unchanged. - two different situations may occur which
- directory / home is on the same partition as the rest of the system (so that its contents are erased with the new installation) or is on a separate partition.
/ home on a separate partition, this case gives us a lot of things, all we do is select manual partitioning during the installation process and ensure that the partition
/ home refitted in
/ home
and is NOT checked the box format. / home
/ home
/ home as this will be deleted during the installation. 1. Create a backup BEFORE the upgrade: cd / & & sudo tar cvfz backup_home.tar.bz2 / home
Save the file
backup_home.tar.bz2 in a place that we know will not delete, such as a USB drive
2. Install the new system, installed the new Ubuntu normally
3. Restore the backup after the upgrade:
cd / & & sudo tar xvfz backup_home.tar.bz2
Note: For this method to work well as new users should call The system old.
Restore installed programs
- dpkg - get-selections Save the file lista_de_paquetes.txt on a site that we know will not delete, such as a USB drive
3. Reinstall all programs: After installation we will not have the software installed manually to retrieve the file will use
lista_de_paquetes.txt as follows: cat
lista_de_paquetes.txt installed manually or using any other method. Other customizations
may be the case we have any other customizations made manually over in the system, such as changing the system boot
/ boot , files from a server
/ etc web / var / www or system configuration files in to give a few examples.
In this case we will make a backup folder or affected folders and restore them in the updated system:
cd / & & sudo cvfz tar backup.tar.gz / folder1 / folder2 ... # Create backup
- cd / & & sudo tar xvfz backup.tar.gz # Restore Backup
More
Ubuntuforums: - Move / home to a separate partition : http://psychocats.net/ubuntu/separatehome
repositories (and their keys) manually added: http://www.linuxmint-hispano.com/foro/?/topic, 6036.0.html
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment