Show Navigation
Conversation
Notices
-
I'm planning a full backup of a Ubuntu Server box with LVM. The system is plays movies to an audience 24/7 through an extra graphics card, so I want to do the backup _from the running system_ (otherwise I'd use the Clonezilla live cd)
Then I want to restore to a 2nd computer to create a backup machine
What do you think of this plan:
Backup Step 1: I'll back up the whole system disk /dev/sda with dd (including MBR, LVM and everything)
Backup Step 2: I'll create snapshots of the LVM logical volumes (/dev/hostname/lv-name) & back up the snapshot devices, again with dd. This data is already included in the /dev/sda image, but this time with guaranteed consistency.
On the target computer:
1. Restore the full /dev/sda backup (using a live cd). The System should now be able to boot and start up, but the content of the / filesystem may be inconsistent
2. Start up the LVM system from the live cd and restore the consistent LV backup (/dev/hostname/lv-name)
Good idea or not?