Re: [SLE] Backup of RAID1 partition
![](https://seccdn.libravatar.org/avatar/137375cac4b31b1609b947f413334978.jpg?s=120&d=mm&r=g)
Zoran Ljubisic wrote:
On Tuesday 22 August 2006 22:54, Zoran Ljubisic wrote:
Hi all,
I have two discs in RAID1 with three partitions on it:
hda1(c) - swap
hda2(c) - /
hda3(c) - /job
I need backup for bare metal recovery of / partition.
No tape software backup will be suitable for bare metal backup/restore. There is no OS in a bare metal situation, so you have no way to restore.
* My idea is to boot from rescue cd, and than use dd to create image of hda2, hdc2 and/or md1. I do not know should I have to initialize raid md1 device before that, but dd should be sufficient for that task. In case of problem I will use reverse dd to restore problematic partition. Tape is just a medium.
If I do not have raid, I will use
dd if=/dev/hda2 of=/dev/st0 bs...
for restore
dd if=/dev/st0 of=/dev/hda bs...
I am trying to use same approach for raid1 (set of) disc. Can somebody help me about how to be sure I am backing up everything I need?
Further, taking backups that are capable of being restored to a new raw disk usually entails taking the disk off line long enough to do it. You have to essentially do a partition dump, and you usually can't do that on a running partition.
* Nobody is talking about running partition.
Personally I never plan on doing bare metal retorations. I back up data and other critical configurations (such as email setups, etc) and plan on restoring the data to a freshly installed OS on the new box if that becomes necessary.
* Don't underestimate power of bare metal recovery. Having root partition on off-line media is more than convenient.
Zoran
![](https://seccdn.libravatar.org/avatar/09d69694347aeb5059b5ff411b7ebe84.jpg?s=120&d=mm&r=g)
I have two discs in RAID1 with three partitions on it:
hda1(c) - swap
hda2(c) - /
hda3(c) - /job
I need backup for bare metal recovery of / partition.
* Don't underestimate power of bare metal recovery. Having root partition on off-line media is more than convenient.
Zoran
I haven't try it, but it seems mondo (http://www.mondorescue.org ) can do the job, it support RAID too, but I dont know about software-RAID. This link probably could help you. http://www.mikenjane.net/~mike/ regards, -- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
![](https://seccdn.libravatar.org/avatar/137375cac4b31b1609b947f413334978.jpg?s=120&d=mm&r=g)
Arie Reynaldi Z wrote:
I need backup for bare metal recovery of / partition.
* Don't underestimate power of bare metal recovery. Having root partition on off-line media is more than convenient.
I haven't try it, but it seems mondo (http://www.mondorescue.org ) can do the job, it support RAID too, but I dont know about software-RAID. This link probably could help you. http://www.mikenjane.net/~mike/
Last time I was lurking at mondo it was unusable. Maybe now it is better, but dd should be more than enough. Zoran
participants (2)
-
Arie Reynaldi Z
-
Zoran Ljubisic