PDA

View Full Version : [ubuntu] Backups before a fresh install? Help please



maddbaron
May 10th, 2011, 03:57 AM
I've decided to do a full total fresh install of natty since i've had so many issues with 10.10, Can someone tell me how to backup all my terminal commands and my ppa source list as .txt files?

Also can i do a fresh install via ethernet cable or should I use the live cd to overwrite my current maverick Ubuntu?

Thanks in advance

akand074
May 10th, 2011, 04:18 AM
your terminal commands are stored in ~/.bash_history so just show hidden files in your home folder and backup that file, when you put it back in /home after a clean install and open up the terminal you should still be able to access your history. I prefer to re-add the software sources via ppa each time because you'll have to change each one manually to natty anyways but otherwise the file is located at /etc/apt/sources.list which you can just backup

maddbaron
May 10th, 2011, 05:37 AM
your terminal commands are stored in ~/.bash_history so just show hidden files in your home folder and backup that file, when you put it back in /home after a clean install and open up the terminal you should still be able to access your history. I prefer to re-add the software sources via ppa each time because you'll have to change each one manually to natty anyways but otherwise the file is located at /etc/apt/sources.list which you can just backup

Thank you, do you if I can do a full fresh reinstall through Ethernet cable or is it best to use a live cd?

akand074
May 10th, 2011, 04:58 PM
Thank you, do you if I can do a full fresh reinstall through Ethernet cable or is it best to use a live cd?

Best to use a live CD. Definitely.

maddbaron
May 12th, 2011, 05:03 PM
yea thanks


Best to use a live CD. Definitely.