[sllug-members]: Encrypted backup tapes
Lamont Peterson
lamont at gurulabs.com
Wed Jan 10 10:02:35 MST 2007
On Wednesday 10 January 2007 12:57am, Mike Bourgeous wrote:
> Might the ancient UNIX art of pipes be useful? I don't use tapes
> personally, but something like:
>
> tar -zcv / | (your favorite compression) | (your favorite encryption -
> GPG?) > /dev/tape
Recently, I ran this on my notebook (/secure/ is an encrypted partition):
tar -cf - /secure/ | gzip -9 | gpg -c > /media/usb/backup/secure.tar.gz.gpg
I think I typed that up correctly, the notebook was wiped and reinstalled
(newer distro releases) since then, so I don't have that line in my history
anymore.
Later today, I'll run this (after creating a new encrypted partition for it):
gpg -d /media/usb/backup/secure.tar.gz.gpg | tar -zxf -
Or, as I just read Clint's post about how GNU tar will actually figure out to
use the right decompression on it's own:
gpg -d /media/usb/backup/secure.tar.gz.gpg | tar -xf -
HTH.
--
Lamont Peterson <lamont at gurulabs.com>
Senior Instructor
Guru Labs, L.C. [ http://www.GuruLabs.com/ ]
NOTE: All messages from this email address should be digitally signed with my
0xDC0DD409 GPG key. It is available on the pgp.mit.edu keyserver as
well as other keyservers that sync with MIT's.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://sllug.org/pipermail/sllug-members/attachments/20070110/3b9e882b/attachment.pgp
More information about the sllug-members
mailing list