[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Secure backup of encrypted partition
n Mon, 16 Jun 2003 11:32:50 +0200
Robert Jaworski <labs@robertjaworski.de> wrote:
> Hi,
>
> this is a little bit off topic here, but maybe somebody can help me.
>
> I have an encrypted drive and would like to make a backup of it. This
> backup should also be as secure as my data on disk. My simple question
> is: how to do this?
>
> I would like to:
> - backup only the data, not the whole partition (save time and media)
> - be able to restore every single file or the whole partition
> - have same security like on the harddisk
> - backup to DVD+RW
>
>
> Thank you very much for you help in advance
> Robert
> -
1) Tar your files:
tar -cpPWvf $ARCHIVE $DIR
2) Encrypt your files:
gpg -c --cipher-algo $GPG_CIPHER_ALGO_NAME $ARCHIVE
3) Wipe your tar archive from HDD:
wipe -qf $ARCHIVE
4) Copy $ARCHIVE.gpg to storage media.
You can use EncryptedVirtualFileSystem http://hysteria.sk/evfs
to avoid writing (and wiping) temporary archive to HDD and
economize free space.
P.S. May be kernelI.org developers combine some ideas from EVFS
and current kernelI to one project?
I can encrypt partition and swap and can't make encrypted temp
dir or tempFS to avoid writing variable length sensitive files to disk!
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/