>> > Does anyone know of a way to encrypt tape backups using tar or
>> > cpio? Other than the obvious prior use of an encrypted file system?
>>
>> tar cpvf - dir1 dir2 ... dirN | gzip -9 | crypt {password} | dd
of=/dev/rmt/0
>>
>> The drawback is that your password is stored on the command line, so the
unix
>> crypt commmand isn't the best thing in the world, nor is it that secure.
As Eric Murray points out, you need a real crypto program instead of crypt,
and it helps to have a good way to hand it the encryption key, but that's a
standard Unix toolbox approach. The CPIO equivalent would be
find . -print | cpio -oc | gzip -9 | cryptprogram | dd of-/dev/rmt0
There are probably compression options for tar and cpio,
so you probably don't need a separate gzip stage.
If not, it's Unix, so you can add them...
Thanks!
Bill
Bill Stewart, [EMAIL PROTECTED]
PGP Fingerprint D454 E202 CBC8 40BF 3C85 B884 0ABE 4639