Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2009 15:07:22 +0300
From:      =?UTF-8?B?T2RoaWFtYm8g44Ov44K344Oz44OI44Oz5bee?= <odhiambo@gmail.com>
To:        Daniels Vanags <daniels.vanags@smpbank.lv>
Cc:        questions@freebsd.org
Subject:   Re: Dump | Restore
Message-ID:  <991123400904200507g3bea6a6eq51c51fffcd77edd6@mail.gmail.com>
In-Reply-To: <E8298C3B2FC1CC43B3FBAC70544780A602D45118@EXCH-01.mbint.multibanka.com>
References:  <E8298C3B2FC1CC43B3FBAC70544780A602D45118@EXCH-01.mbint.multibanka.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 20, 2009 at 1:31 PM, Daniels Vanags
<daniels.vanags@smpbank.lv>wrote:

>
>
>   Unable to successfully dump | restore over ssh. Source machine
> FreeBSD 6.2, disk /dev/mirror/gm0s1a,
>
>  target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt.
>
>  Run dump -0aLf - / | ssh ip_address ''cd /mnt/ && cat | restore - rf
> -'',  dump/restore goes without any errors.


dump L0af - / | ssh ip_addr '(cd /mnt; restore -rf -)'


>  Fstab fixed, but system failure to boot: BTX halted.


You could either do bdslabel -B or use sysinstall to do the same. Only you
mount the slice to /, set bootable and softupdates, then chane the mount
point to /mnt before you "W" to commit.




-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"Clothes make the man.  Naked people have little or no influence on
society."
              -- Mark Twain



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?991123400904200507g3bea6a6eq51c51fffcd77edd6>