Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 18th June 2009, 17:56
domocor domocor is offline
Junior Member
 
Join Date: Jun 2009
Location: Indianapolis
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default LVM Backup/Restore without Live/Rescue CD?


I've been reading the excellent howto on creating an LVM snapshot and backing it up, but I have a couple of questions.

Has anyone tried using fsarchive? Any benefits to that?

Has anyone tried to restore from within a boot init shell?

I would like to have a restore option in the GRUB config menu and do the restore from a boot init shell script. I created a new boot selection in the GRUB config file and added the kernel option to boot into a shell

______ kernel ... init=/bin/sh

I think I should be able to do the restore from here, but the LVM tools aren't fully installed, so I'm not sure how to mount/unmount LVM partitions. The lvm command doesn't seem fully functional. The commands /sbin/lvm and /sbin/lvm.static are available, but I'm not sure what to do with them.

Maybe there are some LVM tools I need to add to a custom initrd.img?

Any insights into doing this would be helpful.

Also, when I backup the / root system partition, can I exclude the /boot partition from the archive? /boot is a separate partition that gets mounted into /.

My HDD structure is like this

_____ /boot _____________ 200 MB
_____ /snapshot _______ 10000 MB
_____ /backup _________ 10000 MB
_____ /LVMGroup00
__________ /swap ________ 200 MB
__________ / __________ 10000 MB
__________ /DATA _____ 960000 MB

Thanks,

-Jerry
(Anyone know how to put tabs or spaces into these posts?!)

Last edited by domocor; 18th June 2009 at 18:32. Reason: formatting wasn't right
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
backup, lvm, partitioning, restore

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Server 2003 on Ubuntu 8.10 + LVM + KVM gezley HOWTO-Related Questions 5 16th January 2012 04:42
Ubuntu 8.04 LTS - RAID 1 + LVM + XEN atjensen11 HOWTO-Related Questions 1 20th January 2009 21:35
Unable to repair/re-install ubunt svr ubuntu 8.04/8.10 on RAID 5 LVM lucy_t Installation/Configuration 5 19th December 2008 21:59
debian, lvm, raid, grub, custom kernel koi Installation/Configuration 4 3rd November 2007 11:39
Xen: Smp & Lvm zokahn HOWTO-Related Questions 5 27th January 2006 11:28


All times are GMT +2. The time now is 04:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.