LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Encrypting Backups with Software Encryption (https://www.linuxquestions.org/questions/linux-software-2/encrypting-backups-with-software-encryption-413019/)

nkirby 02-08-2006 10:26 AM

Encrypting Backups with Software Encryption
 
Hello,
I am pretty new to linux and I have to learn to encrypt backups that will be written to tape. Our current backups are just tarballs of the directories we want written to tape in a bash script. I was wondering if anyone knows of software that can support a fairly secure cypher like aes and be automated fairly easily in a bash script (even better added to our curent backup script). Any advice or experiences on the matter would be greatly appreciated.
Thanks,
Nick

Linux.tar.gz 02-08-2006 09:12 PM

Can be an easy start:
http://www.linuxquestions.org/questi...d.php?t=305423
Check openssl too.

nkirby 02-09-2006 07:58 AM

Thanks for the advice, I'm going to test out openssl!

nkirby 02-09-2006 12:30 PM

OK, so I have been playing around with openssl and I like most everything about it. Does anyone know if it is possible to encrypt files bigger than 2GB using openssl? At first I was getting an error saying that fopen couldnt open my file (3.5GB). So I used the shell to redirect the file into openssl, and got the following.

]# openssl aes-256-cbc -salt -e -out www-02-09-06-daily-backup.tar.gz.aes < www-02-09-06-daily-backup.tar.gz
enter aes-256-cbc encryption password:
Verifying - enter aes-256-cbc encryption password:
File size limit exceeded

Does anyone have any suggestions? It feels like I may not be able to use openssl with out significant changes to our backup scripts. I like that fact that I get to use a password here instead of a key with gpg.


All times are GMT -5. The time now is 05:50 AM.