Info on doing a bare metal restore using fsarchiver.
It had partimage before I took over, but have recently added the fsarchiver as an options as well.
I have not implemented all the options, but have it so it can do partition backups, and one can select
I've also been able to backup LVM partitions using it as the /dev/dm? directories.
In a simple test, I backed up the LVM partition of 250GB and it took about 25 minutes to backup using
fsarchjver compared to the dd backup that takes about 1 hour 40 minutes. The space used on the / is only
about 40GB, so fsarchivers file level backup doesn't have to deal with the unused space.
The difference is that a full disk backup using g4l would restore all the partitions, LVM, mbr and partition table.
I could also restore the mbr and partition table using the MBR options of g4l, and then restore the LVM, which
would include the include the / and swap partitions of the LVM.
I'm looking at adding options to be able to do a bare metal type restore, but the issue would be recreating the LVM setup.
The MBR backup would create the physical partitions, and I think the vgcfgbackup and vgcfgrestore could be used to
resetup the LVM, but I have not done a test of this? Don't know if fsarchiver could backup the swap partitions, or if it would
be worth it. If not come up with a way to recreate the swap LVM partition.
Don't know if others have done something like this, or could provide some suggestions.