how restore an unencrypted dump on an encrypted file system?

Fabian Keil freebsd-listen at fabiankeil.de
Sat Sep 29 11:53:59 UTC 2012


s m <sam.gh1986 at gmail.com> wrote:

> I backed up my freeBSD 8.2 box by dump command and now want to restore
> this dump file on an encrypted file system (i used geli to encrypt my
> file system) but do not know how to do that.
> 
> is there any way or command to restore an unencrypted dump on an
> encrypted file system? i tried to restore my dump file as when file
> system is unencrypted.

Can you read the files after attaching the provider manually?

> this is what i've doe: I decrypted my encrypted file system by "geli
> attach" command, then mount it and restore dumps. but when i restart
> my system, FreeBSD doesn't start up correctly (PXE boot menu is shown
> and when i select freeBSD, boot.config runs but nothing happend).

You do not provide enough information to give a meaningful answer.

One possible mistake would be putting the kernel itself on
the encrypted file system, but the list of things one can
do wrong is pretty long.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120929/f05d89fc/signature.pgp


More information about the freebsd-questions mailing list