LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-09-2011, 04:55 PM   #1
redrocket101011
LQ Newbie
 
Registered: Jan 2011
Location: Indiana, USA
Distribution: Ubuntu, Red Hat, OpenSUSE
Posts: 15

Rep: Reputation: 0
Arrow Ubuntu 10.10 Files and Settings Backup


::HI ALL::

I'm trying to do a migration from an X86(32 bit) Ubuntu to a 64 bit version for reasons involving lack of support for my 8GB of RAM. I've put so much time and effort into customizing and "prettying" up my distro. Which I'm sure many of you understand the gravity of having to lose everything you so diligently Googled and referenced to make happen.

So my question is, what is the best backup software to use to maintain as much of my current system as possible when I switch to the 64 bit version. Keep in mind that this switch also involves moving to a different HDD in my box, so there won't be any way to "update" patch to make it a 64 bit OS.

THANKS!
 
Old 02-09-2011, 08:07 PM   #2
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Lubuntu, Slackware
Posts: 575

Rep: Reputation: 64
Copy and restore these directories:

/home
/root
/etc

You may want to check if there is anything else you want to salvage in /opt, /usr/local and /boot/grub.

The /etc directory had better be discarded if you are moving to a different distro. I mean, the /etc directory in a Slackware distro will not bode well with a Red Hat distro.

If you're using any Debian-based distro, like Ubuntu, which you are, then you may want to take this additional step:

$ sudo dpkg --get-selections | grep -v deinstall > packagelist.txt

That will create a list of all the packages you have installed in the packagelist.txt file. Then copy that file over to the new system, and you can use it like this:

$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ sudo dpkg --set-selections < packagelist.txt

All your old programs will be restored. It just may take a while, because everything will be downloaded and installed again. You might as well leave and take a walk in the park while the computer is doing it.
 
Old 02-09-2011, 09:19 PM   #3
redrocket101011
LQ Newbie
 
Registered: Jan 2011
Location: Indiana, USA
Distribution: Ubuntu, Red Hat, OpenSUSE
Posts: 15

Original Poster
Rep: Reputation: 0
Question

I was more concerned with a switch to 64 bit Ubuntu 10.10. The same OS just 64 bit. Will all of that take care of my settings and do a complete reinstall of all of my programs just as they are now?
 
Old 02-10-2011, 01:03 PM   #4
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Lubuntu, Slackware
Posts: 575

Rep: Reputation: 64
Yes.
 
Old 02-11-2011, 04:28 PM   #5
redrocket101011
LQ Newbie
 
Registered: Jan 2011
Location: Indiana, USA
Distribution: Ubuntu, Red Hat, OpenSUSE
Posts: 15

Original Poster
Rep: Reputation: 0
Thumbs up

Thank you sir. I will actually keep this thread open until I get around to the restore...hopefully tonight or tomorrow. Any other suggestions are very much appreciated, THANKS!
 
Old 02-11-2011, 04:32 PM   #6
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 386

Rep: Reputation: 49
wait wait please don't do that yet.
please
take a look into PAE.
the generic pae kernel. it's supposed to find and use all your ram.

EDIT: there you go.

Last edited by silvyus_06; 02-11-2011 at 04:34 PM.
 
1 members found this post helpful.
Old 02-11-2011, 04:34 PM   #7
redrocket101011
LQ Newbie
 
Registered: Jan 2011
Location: Indiana, USA
Distribution: Ubuntu, Red Hat, OpenSUSE
Posts: 15

Original Poster
Rep: Reputation: 0
Question

Thanks!
I'm actually at school right now but I'll take a look into it..actually there's a Fedora Distro on some of the school's comps. Could I try it out with that first I wonder?
 
Old 02-11-2011, 04:41 PM   #8
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 386

Rep: Reputation: 49
Quote:
Originally Posted by redrocket101011 View Post
Thanks!
I'm actually at school right now but I'll take a look into it..actually there's a Fedora Distro on some of the school's comps. Could I try it out with that first I wonder?
if your school accidentally put a 32 bit version of linux on a comp with more than 3gb ram then yes you can try it.
but you also have to search a guide for the fedora PAE, since i m not a fedora user. nor do i like rpm based distros...
 
Old 02-11-2011, 05:14 PM   #9
redrocket101011
LQ Newbie
 
Registered: Jan 2011
Location: Indiana, USA
Distribution: Ubuntu, Red Hat, OpenSUSE
Posts: 15

Original Poster
Rep: Reputation: 0
Aye, im actually not to familiar with Fedora anyways so ill go ahead and give it a shot when i get home. Thanks mate
 
Old 02-11-2011, 05:37 PM   #10
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
If you're running mail, web or mysql servers it might also be useful to keep /var in addition to lucmove's good advice above.
 
1 members found this post helpful.
Old 02-12-2011, 01:04 PM   #11
redrocket101011
LQ Newbie
 
Registered: Jan 2011
Location: Indiana, USA
Distribution: Ubuntu, Red Hat, OpenSUSE
Posts: 15

Original Poster
Rep: Reputation: 0
I went ahead and looked into PAE and thought other wise about it due to some constraint with program overhead. It seems to me that PAE only makes a "virtual" 64 bits out of 36 bits. The way I understand is that it's a little more unstable when working with a true 64 bit CPU (I think I forgot to mention that I am running on an AMD cpu, sorry). I decided to go ahead and use the 64 bit version of Ubuntu which is running very nicely so far. It turns out that all I really needed was Lucmove's great advice about the packagelist and Gilead's idea to move /var. I am currently running a WoW server and I was thinking I might have to get rid of the db but that made it possible to keep the files. All I have to do now is recompile the db with a 64 bit SQL.

So thank you all for the great advice, everything seems to be working smoothly.

THANKS MATES!

Last edited by redrocket101011; 02-12-2011 at 01:07 PM.
 
  


Reply

Tags
software, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu backup to USB flash drive. Symbolic links and special files. icekreaman Linux - Newbie 1 12-19-2010 03:16 PM
[SOLVED] Upgrade from Ubuntu 9.10 to Ubuntu 10.04 crashed now I cant backup my files bubbajed Linux - Newbie 15 05-07-2010 03:05 PM
backup question - NFS share in Ubuntu 9.04 backup to READYNAS NV+ newellrp1 Linux - Newbie 3 05-19-2009 03:57 PM
Backup Data and Settings Goofy180173 Linux - Desktop 1 11-15-2007 02:51 PM
ipcop how to backup settings dogface2006 Linux - Security 6 07-24-2007 10:17 PM


All times are GMT -5. The time now is 08:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration