Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2012 16:36:09 +0330
From:      s m <sam.gh1986@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: how restore an unencrypted dump on an encrypted file system?
Message-ID:  <CAA_1SgGVwB5yNHZpcLhrFjjvY=%2BocaYdgYO2GwWG7%2B0gWcRFjw@mail.gmail.com>
In-Reply-To: <20120929135300.03aae386@fabiankeil.de>
References:  <CAA_1SgEjKnyCgygKhqBV_QpDwUS8_-ovV9fU52gSTgn-h4kr9g@mail.gmail.com> <20120929135300.03aae386@fabiankeil.de>

next in thread | previous in thread | raw e-mail | index | archive | help
thanks Fabian for your answer. i don't know what exactly information
is needed but i tell what i did up to now.

i have two partition, one is encrypted and the other one is not. the
unencrypted partition has boot folder. when i copy FreeBSD base system
files, FreeBSD start up correctly but when i restore dump files,
FreeBSD doesn't start up correctly.

i hope this information help to understand what is wrong.
thanks

On 9/29/12, Fabian Keil <freebsd-listen@fabiankeil.de> wrote:
> s m <sam.gh1986@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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA_1SgGVwB5yNHZpcLhrFjjvY=%2BocaYdgYO2GwWG7%2B0gWcRFjw>