Portal Home > Knowledgebase > Articles Database > restore a deleted LVM


restore a deleted LVM




Posted by Darvil, 11-18-2008, 05:47 AM
restore a deleted LVM I've come into a bind here. I need to restore a deleted VPS. Problem is that another VPS was created right after the VPS was deleted. This is on a Xen hypervm slave. I tried running vgcfgrestore -f /etc/lvm/archive/VolGroup00_01381.vg VolGroup00 but its not bringing back the files. Any ideas at all at on how to recover? Is this even possible? I just need to salvage some files from /home from the old setup. Perhaps delete the new VPS and then do a restore?

Posted by Russ Foster, 11-18-2008, 05:56 AM
You have probably lost the data. Do you have offsite backups at all? __________________FSCK VPS - Instant setup US VPS - Linux Remote Desktop Out the Box www.cheapvps.co.uk - UK/US/OpenVZ/Xen VPS CrapCrap.com - Its my blog and stuffContact us for VPS solutions and fully managed support. Not happy with something? PM me

Posted by cascoing, 11-18-2008, 06:26 PM
I too hope so, that external backup is the only solution.

Posted by ragubhat, 11-19-2008, 03:01 AM
vgcfgrestore -f /etc/lvm/archive/VolGroup00_01381.vg VolGroup00 This just restores the LVM descriptor area, maybe a part of the metadata. What has happened to the disk area? Has read-write activity been high? Looks like you have lost all data, if this server is a busy production one. __________________ -- 73s Ragu/VU2RGU A LowLie SysAd

Posted by Dynash, 11-19-2008, 05:06 AM
You've most likely lost it since a VPS was installed right after it. __________________<<< Please see Forum Guidelines for signature setup. >>>

Posted by Darvil, 11-19-2008, 07:19 PM
Aye, I agree this is a lost cause. Now if there was nothing new created would that roll back command have worked?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
MySQL Joins (Views: 590)
Best reseller host. (Views: 605)
eAccelerator (Views: 567)