LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-29-2011, 03:29 AM   #1
takayama
Member
 
Registered: Sep 2009
Posts: 97

Rep: Reputation: 0
LVM backup / to a other machine


Hello
I have a machine with a lvm partition, i want to make a copy of the entire / and i want to put i direct on a other machine.
 
Old 08-29-2011, 12:14 PM   #2
timur91
Member
 
Registered: Aug 2011
Posts: 42

Rep: Reputation: Disabled
Hi,

You will need to manually create the new lvm on the other server, it should be exactly the same size as on the source server then use dd to clone the partition. Run this on the source server:
Code:
dd if=/path/to/volume of=/path/to/some/external/drive/with/lots/of/space/dd.image
and to restore the partition on the destination server you need to boot from live cd:
Code:
dd if=/path/to/some/external/drive/with/lots/of/space/dd.image of=/path/to/volume
java socket

depending on how your boot loader is setup you will need to copy that as well.

Last edited by timur91; 01-05-2012 at 05:34 AM.
 
Old 08-30-2011, 12:15 AM   #3
arunabh_biswas
Member
 
Registered: Jun 2006
Posts: 92

Rep: Reputation: 16
Either way you can use LVM's export and import commands to achieve the same.

Try GOOGLE..you'll find lots of stuff related to this...


Regards
Arunabh
 
  


Reply



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
lvm snapshot for backup eco Linux - Server 5 03-15-2009 07:27 AM
backup from LVM to JBOD box kpachopoulos Linux - General 4 12-19-2008 05:41 PM
how to take backup in LVM jolly Linux - Software 2 07-06-2008 11:48 PM
Advisability of using LVM on backup HDD's? haertig Linux - Software 0 12-28-2005 08:43 PM
Help with backup on an lvm system wlfdgcrkz Linux - Software 1 05-09-2003 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:20 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration