LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-21-2010, 12:47 PM   #1
tirengarfio
Member
 
Registered: Nov 2006
Posts: 45

Rep: Reputation: 15
Question about restoring a backup in a different system


Hi,

im trying to clone my ubuntu system installed in a laptop in case the laptop crashes.

But, first of all: when i try to restore the system in a new PC, could be incompatibilities because the hardware of the broken laptop and the new laptop is different?

I dont mind if i have to buy another laptop with the same processor type (i386, etc), but, for example, the type of the RAM could be cause of problems?


Regards

Javi
 
Old 01-21-2010, 01:24 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
If you're using say rsync, you shouldn't have any issues with things like ram, etc. One thing to make sure of is that you're not using uuid as the identifier for hard drives as that will change. If your video card changes you'll need to update your xconfig and if the screen is different you'll likely need to update that.
 
Old 01-21-2010, 01:37 PM   #3
tirengarfio
Member
 
Registered: Nov 2006
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rweaver View Post
If you're using say rsync
And with "dd" or "cp" or partimage or clonezilla?
 
Old 01-21-2010, 02:16 PM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
I wouldn't use cp period. DD and Clonezilla you may have some minor issues because you can't exclude certain items that can cause problems on new hardware, they work well for an image, they work poorly for migrating a system intact to another system on new hardware. You generally have to reconfigure your modules and fstab and lvm information at a minimum.

A neat trick with rsync is install a base system and then just send your old system over the new one and leave the current hardware config in place using excludes.

YMMV.
 
1 members found this post helpful.
Old 01-21-2010, 02:46 PM   #5
tirengarfio
Member
 
Registered: Nov 2006
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rweaver View Post
I wouldn't use cp period.
What does this mean? Sorry because my english
 
Old 01-21-2010, 04:47 PM   #6
jefro
Guru
 
Registered: Mar 2008
Posts: 11,139

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
My suggestion is to not do it. Linux doesn't transport easily. Too many variables to correct.

Installers for most distro's make choices for you that may later be difficult to fix on a moved system.

Moved systems always seem to fail for me. Some unknown chipset issue or such.

Best of luck. If it works and is easy then maybe I'll try it again sometime.

Last edited by jefro; 01-21-2010 at 04:53 PM.
 
Old 01-21-2010, 04:53 PM   #7
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Don't use cp. It's not a backup tool.
 
Old 01-21-2010, 04:54 PM   #8
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Quote:
Originally Posted by jefro View Post
My suggestion is to not do it. Linux doesn't transport easily. Too many variables to correct.

Installers for most distro's make choices for you that may later be difficult to fix on a moved system.

Moved systems always seem to fail for me. Some unknown chipset issue or such.

Best of luck. If it works and is easy then maybe I'll try it again sometime.
Try rsync jefro-- I've done probably 30 of them and besides manually reconfiguring the xserver for desktop systems I've never had any serious problems. The key is to exclude things like modules, dev, proc, etc.
 
  


Reply


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
restoring a backup rholme Linux - Newbie 10 07-09-2009 01:07 PM
Restoring from Suse Backup tictoc Suse/Novell 9 02-09-2009 04:18 AM
Restoring X11 from backup-- HELP! philwynk Linux - Newbie 10 01-23-2008 02:34 PM
Restoring from rsync backup a_l_a_n Linux - Software 3 09-12-2007 01:13 PM
Restoring backup dominique Linux - Newbie 3 12-06-2001 02:59 AM


All times are GMT -5. The time now is 10:39 AM.

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