backup a mailserver
Hi everyone,
I have a mailserver (OpenBSD 4.7 : wd0a, wd0b slices).
I want to backup entire OS.
So i done that :
Plug on the mailserver a USB Hard-disk (FAT32, sd0i)
mount /dev/sd0i /mnt
dump -0auf /mnt/backup_os wd0a
-> terminated without any errors.
I have an other machine (exactly the same hardware than the mailserver machine), i want now to restore my dump on it.
I booted OpenBSD 4.7 iso release
I choosed [SHELL]
use fdisk and diskpart utility for create slices (wd0a, and wd0b)
newfs wd0a
mount /dev/wd0a /mnt
mount /dev/sd0i /mnt2
cd /mnt
restore -rf /mnt2/backup_os
I ve got a lot of errors like : Expected next file 164898, got 102090
And inode errors…
Please how can i restore my dump without any errors ?
thanks.
|