LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-22-2008, 11:59 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Rep: Reputation: 45
clone the whole linux using rsync


hi

We'd like to clone the whole linux (RHEL 3) using rsync via SSH and resore on other machine with the same hardware.
Could someone explain pls how it works ?

btw. could rsyn clone MBR and Partition table as well ?

Last edited by cccc; 11-22-2008 at 12:16 PM.
 
Old 11-22-2008, 07:15 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,043

Rep: Reputation: 83
No rsync will not clone the mbr. But you could do a ./ on your rsync and it will copy all directories below ./ to the other machine.

so you would have
Code:
 rsync -a / root@<host>:<dest directory>
 
Old 11-24-2008, 03:00 PM   #3
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Rep: Reputation: 30
You do not want to do the entire root file system. For example /proc, /sys, /net would be bad.
 
Old 11-24-2008, 03:41 PM   #4
sfjoe
Member
 
Registered: Jun 2007
Location: San Francisco
Distribution: Centos 4, Debian
Posts: 55

Rep: Reputation: 16
Quote:
Originally Posted by cccc View Post
hi

We'd like to clone the whole linux (RHEL 3) using rsync via SSH and resore on other machine with the same hardware.
Could someone explain pls how it works ?

btw. could rsyn clone MBR and Partition table as well ?

We've had good luck using kickstart to clone our CentOS machines:
http://www.linuxdevcenter.com/pub/a/...kickstart.html
 
  


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
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 03:40 PM
Using rsync to backup data. Best way to backup folders? Micro420 Linux - General 2 11-23-2006 01:13 AM
Rsync Backup From Windows To Linux Problem sectrean Linux - Networking 0 10-18-2004 04:11 PM


All times are GMT -5. The time now is 12:02 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