I would like to enable LVM snapshots but I am not using LVM.

Please ask questions here if you are not familiar with fsarchiver
Post Reply
El_Jefe
Posts: 1
Joined: Mon Nov 07, 2011 8:56 pm

I would like to enable LVM snapshots but I am not using LVM.

Post by El_Jefe » Mon Nov 07, 2011 9:02 pm

So I was thinking about taking the server down, archiving via live CD. Repartitioning to LVM w/ ext4 and then restoring the filesystem archive, and then automating future system backups via cron, and keeping a certain amount of hourly, daily, weekly, monthly and yearly backups (ala rsnapshot). Is that doable?

tuipveus
Posts: 44
Joined: Thu May 14, 2009 7:02 pm

Re: I would like to enable LVM snapshots but I am not using

Post by tuipveus » Tue Nov 08, 2011 8:30 pm

I think it is doable, but might be pain in the ass, to get your os to boot again from the lvm. Not sure how that works, but I would recommend you to read grub or grub2 manuals, and lvm2 manuals ofcourse.

admin
Site Admin
Posts: 550
Joined: Sat Feb 21, 2004 12:12 pm

Re: I would like to enable LVM snapshots but I am not using

Post by admin » Mon Mar 05, 2012 12:41 pm

Installing all filesystems other than /boot on LVM is really a good idea, and it is even the default on Fedora / RHEL. Booting from LVM worked very well thanks the the initramfs which contains all userspace utilities such as LVM required to mount the root filesystem. And it allows to make consistent backups of all your filesystems using fsarchiver. That's the recommended way to use fsarchiver for regular backups in a consistent way which do not require any down time.

Post Reply